mirror of
https://github.com/trezor/trezor-wallet
synced 2025-02-15 17:42:03 +00:00
update error code trezor-connect@8.1.7
This commit is contained in:
parent
8e9d704e05
commit
58bf91f257
@ -108,8 +108,11 @@ export const showAddress = (path: string): AsyncAction => async (
|
||||
});
|
||||
|
||||
// special case: device no-backup permissions not granted
|
||||
// $FlowIssue: remove this after trezor-connect@7.0.0 release
|
||||
if (response.payload.code === 403) return;
|
||||
if (
|
||||
response.payload.code === 403 ||
|
||||
response.payload.code === 'Method_PermissionsNotGranted'
|
||||
)
|
||||
return;
|
||||
|
||||
dispatch({
|
||||
type: NOTIFICATION.ADD,
|
||||
|
Loading…
Reference in New Issue
Block a user