From 6f79e31161fe32163e116ce9fa55771340602b2b Mon Sep 17 00:00:00 2001 From: petitPapillon Date: Sat, 17 Jun 2017 15:34:33 +0200 Subject: [PATCH] Format file; remove console.log --- .../components/dashboard/receiveCoin/receiveCoin.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/react/src/components/dashboard/receiveCoin/receiveCoin.js b/react/src/components/dashboard/receiveCoin/receiveCoin.js index 41b42a4..6d17fda 100644 --- a/react/src/components/dashboard/receiveCoin/receiveCoin.js +++ b/react/src/components/dashboard/receiveCoin/receiveCoin.js @@ -28,11 +28,19 @@ class ReceiveCoin extends React.Component { } componentWillMount() { - document.addEventListener('click', this.handleClickOutside, false); + document.addEventListener( + 'click', + this.handleClickOutside, + false + ); } componentWillUnmount() { - document.removeEventListener('click', this.handleClickOutside, false); + document.removeEventListener( + 'click', + this.handleClickOutside, + false + ); } handleClickOutside(e) { @@ -134,7 +142,6 @@ class ReceiveCoin extends React.Component { } render() { - console.log('RENDER11', this.props.receive, this.isNativeMode(), this.props.nativeActiveSection); // TODO nativeActiveSection === 'receive' should be removed when native mode is fully merged // into the rest of the components if (this.props &&