fixed #84
pull/90/head
Szymon Lesisz 6 years ago
parent 1aed318741
commit 51e65ef31f

@ -256,8 +256,7 @@ export const isLandingPageUrl = ($url?: string): PayloadAction<boolean> => (disp
if (typeof url !== 'string') {
url = getState().router.location.pathname;
}
// TODO: add more landing page cases/urls to config.json (like /tools etc)
return (url === '/' || url === '/bridge');
return url === '/';
};
/*

@ -52,9 +52,6 @@ const WalletService: Middleware = (api: MiddlewareAPI) => (next: MiddlewareDispa
if (action.device) {
// try to authorize device
api.dispatch(TrezorConnectActions.getSelectedDeviceState());
} else {
// try select different device
api.dispatch(RouterActions.selectFirstAvailableDevice());
}
break;
case DEVICE.CONNECT:

Loading…
Cancel
Save