From 613302fb23f37621e4898ca8259c35c34508f3c8 Mon Sep 17 00:00:00 2001 From: Szymon Lesisz Date: Wed, 8 Aug 2018 15:35:49 +0200 Subject: [PATCH] removed TRANSPORT.UNREADABLE action (not used) --- src/js/services/TrezorConnectService.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/js/services/TrezorConnectService.js b/src/js/services/TrezorConnectService.js index c67e6e5a..24520efe 100644 --- a/src/js/services/TrezorConnectService.js +++ b/src/js/services/TrezorConnectService.js @@ -44,16 +44,6 @@ const TrezorConnectService: Middleware = (api: MiddlewareAPI) => (next: Middlewa api.dispatch(initWeb3()); } else if (action.type === WEB3.READY) { api.dispatch(TrezorConnectActions.postInit()); - } else if (action.type === TRANSPORT.UNREADABLE) { - api.dispatch({ - type: NOTIFICATION.ADD, - payload: { - type: 'error', - title: 'Unreadable HID device', - message: '', - cancelable: true, - }, - }); } else if (action.type === DEVICE.DISCONNECT) { api.dispatch(TrezorConnectActions.deviceDisconnect(action.device)); } else if (action.type === CONNECT.REMEMBER_REQUEST) {