From fbd4df8c0d92852033ded7c5a7d0d4935d42e411 Mon Sep 17 00:00:00 2001 From: CryptoChile <37342734+cryptowea@users.noreply.github.com> Date: Fri, 29 Jun 2018 02:38:07 -0400 Subject: [PATCH] Minor Warning in JS file console.log under a return. fix --- src/App.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index 8dc88ee..19bc166 100644 --- a/src/App.js +++ b/src/App.js @@ -85,8 +85,9 @@ class App extends Component { return } this.simpleStorageInstance.set(result[0].hash, { from: this.state.account }).then((r) => { + console.log('ifpsHash', this.state.ipfsHash) return this.setState({ ipfsHash: result[0].hash }) - console.log('ifpsHash', this.state.ipfsHash) + }) }) }