From 09eb38c9f9f8a18fc2c845eb5cdb1591cb1cd9f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Wed, 6 Jun 2018 19:44:02 +0200 Subject: [PATCH] Update SendModalBody.js --- src/components/modals/Send/SendModalBody.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/modals/Send/SendModalBody.js b/src/components/modals/Send/SendModalBody.js index cba8561e..bdc17ba9 100644 --- a/src/components/modals/Send/SendModalBody.js +++ b/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> { 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++