Gaëtan Renaudeau
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
src/components/modals/Send/SendModalBody.js
|
|
@ -1,5 +1,6 @@ |
|
|
|
// @flow
|
|
|
|
|
|
|
|
import logger from 'logger' |
|
|
|
import invariant from 'invariant' |
|
|
|
import React, { PureComponent } from 'react' |
|
|
|
import { translate } from 'react-i18next' |
|
|
@ -162,7 +163,7 @@ class SendModalBody extends PureComponent<Props, State<*>> { |
|
|
|
return null |
|
|
|
} |
|
|
|
if (!this.steps[stepIndex].canNext(state)) { |
|
|
|
console.warn('tried to next step without a valid state!', state, stepIndex) |
|
|
|
logger.warn('tried to next step without a valid state!', state, stepIndex) |
|
|
|
return null |
|
|
|
} |
|
|
|
stepIndex++ |
|
|
|