mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-27 10:48:22 +00:00
fix isWebUSB util
This commit is contained in:
parent
0c04aef293
commit
a7939601e5
@ -79,7 +79,8 @@ export const getStatusName = (deviceStatus: string, intl: IntlShape): string =>
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
export const isWebUSB = (transport: Transport) => !!(transport.type && transport.type === 'webusb');
|
export const isWebUSB = (transport: Transport) =>
|
||||||
|
!!(transport.type && transport.type === 'WebUsbPlugin');
|
||||||
|
|
||||||
export const isDisabled = (
|
export const isDisabled = (
|
||||||
selectedDevice: TrezorDevice,
|
selectedDevice: TrezorDevice,
|
||||||
|
Loading…
Reference in New Issue
Block a user