Skip to content

Commit

Permalink
chore(wallet): fix forms not submitting (#1203)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maurice Dalderup authored Oct 20, 2019
1 parent 432f6cd commit e2080c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/renderer/shared/components/NewWallet/Ledger/Ledger.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export default class Ledger extends React.PureComponent {
<Button className={styles.action} onClick={onCancel}>
Cancel
</Button>
<PrimaryButton className={styles.action} disabled={!this.isValid()}>
<PrimaryButton type="submit" className={styles.action} disabled={!this.isValid()}>
Add Wallet
</PrimaryButton>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ export default class Mnemonic extends React.PureComponent {
<Button className={styles.action} onClick={this.cancel}>
Cancel
</Button>
<PrimaryButton className={styles.action}>Add Wallet</PrimaryButton>
<PrimaryButton type="submit" className={styles.action}>
Add Wallet
</PrimaryButton>
</div>
</form>
);
Expand Down

0 comments on commit e2080c8

Please sign in to comment.