From 934b1cbe0aa4edc4efa733a992930bb2c992552e Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Thu, 16 Aug 2018 21:49:39 +0200 Subject: [PATCH] Reset state on mount --- src/js/views/Wallet/components/LeftNavigation/index.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/js/views/Wallet/components/LeftNavigation/index.js b/src/js/views/Wallet/components/LeftNavigation/index.js index e99c2cd7..46578383 100644 --- a/src/js/views/Wallet/components/LeftNavigation/index.js +++ b/src/js/views/Wallet/components/LeftNavigation/index.js @@ -37,6 +37,13 @@ class LeftNavigation extends Component { }; } + componentDidMount() { + this.setState({ + animationType: null, + shouldRenderDeviceSelection: false, + }) + } + componentWillReceiveProps() { const { deviceDropdownOpened } = this.props; const { selectedDevice } = this.props.wallet;