mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-14 04:19:09 +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 = (
|
||||
selectedDevice: TrezorDevice,
|
||||
|
Loading…
Reference in New Issue
Block a user