Skip to content

Commit

Permalink
[DDW-860] Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
renanvalentin committed Jan 17, 2022
1 parent 1d4c138 commit 81ae6b1
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions source/renderer/app/components/wallet/WalletSendForm.js
Expand Up @@ -416,11 +416,6 @@ export default class WalletSendForm extends Component<Props, State> {
validateOnChange: true,
validationDebounceWait: FORM_VALIDATION_DEBOUNCE_WAIT,
},
hooks: {
onSuccess: () => {
this.handleOnSubmit();
},
},
}
);

Expand Down Expand Up @@ -581,8 +576,6 @@ export default class WalletSendForm extends Component<Props, State> {
...nextState,
transactionFeeError,
});

throw localizableError;
}
}
};
Expand Down Expand Up @@ -1174,7 +1167,7 @@ export default class WalletSendForm extends Component<Props, State> {
className="primary"
label={intl.formatMessage(messages.sendButtonLabel)}
disabled={this.isDisabled()}
onClick={this.form.onSubmit}
onClick={this.handleOnSubmit}
/>
</div>
</div>
Expand Down

0 comments on commit 81ae6b1

Please sign in to comment.