add debug messages

chromebook-fix
Vladimir Volek 5 years ago
parent cb9c1b8e8a
commit 8ee3286d6b

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

Loading…
Cancel
Save