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:
parent
cb9c1b8e8a
commit
8ee3286d6b
@ -26,10 +26,15 @@ const Root = (props: Props) => {
|
||||
const shouldShowDisconnectDevice = !!disconnectRequest;
|
||||
const isLoading =
|
||||
!error &&
|
||||
!shouldShowUnsupportedBrowser &&
|
||||
!shouldShowConnectDevice &&
|
||||
!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 : '';
|
||||
// corner case: display InstallBridge view on "/" route
|
||||
// it has it's own Container and props
|
||||
|
Loading…
Reference in New Issue
Block a user