1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-07-07 07:12:34 +00:00

add debug messages

This commit is contained in:
Vladimir Volek 2019-08-19 14:36:33 +02:00
parent cb9c1b8e8a
commit 8ee3286d6b

View File

@ -26,9 +26,14 @@ const Root = (props: Props) => {
const shouldShowDisconnectDevice = !!disconnectRequest; const shouldShowDisconnectDevice = !!disconnectRequest;
const isLoading = const isLoading =
!error && !error &&
!shouldShowUnsupportedBrowser &&
!shouldShowConnectDevice && !shouldShowConnectDevice &&
!shouldShowUnsupportedBrowser; !shouldShowUnsupportedBrowser;
console.log('props', props)
console.log('isLoading', isLoading);
console.log('error', error);
console.log('shouldShowConnectDevice', shouldShowConnectDevice);
console.log('shouldShowUnsupportedBrowser', shouldShowConnectDevice);
const deviceLabel = disconnectRequest ? disconnectRequest.label : ''; const deviceLabel = disconnectRequest ? disconnectRequest.label : '';
// corner case: display InstallBridge view on "/" route // corner case: display InstallBridge view on "/" route