mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-28 03:08:30 +00:00
enable BlockchainActions.notification
This commit is contained in:
parent
f28aa760fd
commit
a32f0faf38
@ -58,9 +58,9 @@ const TrezorConnectService: Middleware = (api: MiddlewareAPI) => (next: Middlewa
|
|||||||
} else if (action.type === CONNECT.DUPLICATE) {
|
} else if (action.type === CONNECT.DUPLICATE) {
|
||||||
api.dispatch(RouterActions.selectDevice(action.device));
|
api.dispatch(RouterActions.selectDevice(action.device));
|
||||||
} else if (action.type === BLOCKCHAIN.BLOCK) {
|
} else if (action.type === BLOCKCHAIN.BLOCK) {
|
||||||
api.dispatch(BlockchainActions.onBlockMined(action.payload.coin));
|
api.dispatch(BlockchainActions.onBlockMined(action.payload));
|
||||||
} else if (action.type === BLOCKCHAIN.NOTIFICATION) {
|
} else if (action.type === BLOCKCHAIN.NOTIFICATION) {
|
||||||
// api.dispatch(BlockchainActions.onNotification(action.payload));
|
api.dispatch(BlockchainActions.onNotification(action.payload));
|
||||||
} else if (action.type === BLOCKCHAIN.ERROR) {
|
} else if (action.type === BLOCKCHAIN.ERROR) {
|
||||||
api.dispatch(BlockchainActions.error(action.payload));
|
api.dispatch(BlockchainActions.error(action.payload));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user