fix isWebUSB util

pull/625/head
slowbackspace 4 years ago
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…
Cancel
Save