Skip to content

Commit

Permalink
feat(open banking): link bank modal back button click now works as it…
Browse files Browse the repository at this point in the history
… should
  • Loading branch information
milan-bc committed Apr 14, 2021
1 parent 7f8690c commit f736f33
Showing 1 changed file with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,14 @@ class Add extends PureComponent<Props> {
})
}

handleBack = () => {
// this.props.simpleBuyActions.setStep({
// step: 'PAYMENT_METHODS',
// cryptoCurrency: this.props.cryptoCurrency,
// fiatCurrency: this.props.fiatCurrency,
// pair: this.props.pair
// })
}

render() {
return this.props.data.cata({
Success: val => (
<Success
{...this.props}
{...val}
onSubmit={this.handleSubmit}
handleBack={this.handleBack}
handleBack={this.props.handleClose}
/>
),
Failure: e => (
Expand Down

0 comments on commit f736f33

Please sign in to comment.