diff --git a/src/views/Wallet/components/LeftNavigation/index.js b/src/views/Wallet/components/LeftNavigation/index.js index 15d2821f..14d5dfc5 100644 --- a/src/views/Wallet/components/LeftNavigation/index.js +++ b/src/views/Wallet/components/LeftNavigation/index.js @@ -93,6 +93,10 @@ class LeftNavigation extends Component { shouldRenderDeviceSelection: false, animationType: 'slide-right', }); + } else if (selectedDevice.features.bootloader_mode) { + this.setState({ + shouldRenderDeviceSelection: false, + }); } } @@ -102,19 +106,9 @@ class LeftNavigation extends Component { { - console.warn('ON ENTER'); - }} - onEntering={() => { - console.warn('ON ENTERING (ACTIVE)'); - }} onExit={() => { - console.warn('ON EXIT'); window.dispatchEvent(new Event('resize')); }} - onExiting={() => { - console.warn('ON EXITING (ACTIVE)'); - }} onExited={() => window.dispatchEvent(new Event('resize'))} classNames={this.state.animationType} appear={false}