Reset state on mount

pull/3/head
Vladimir Volek 6 years ago
parent cf79638cad
commit 934b1cbe0a

@ -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;

Loading…
Cancel
Save