Browse Source

Update SendModalBody.js

master
Gaëtan Renaudeau 7 years ago
committed by GitHub
parent
commit
09eb38c9f9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/components/modals/Send/SendModalBody.js

3
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++

Loading…
Cancel
Save