Skip to content

Commit 56ba1b3

Browse files
author
zhengzhou
committed
fix: lint fix
1 parent f326f1c commit 56ba1b3

File tree

1 file changed

+3
-3
lines changed
  • packages/neuron-wallet/src/services/hardware

1 file changed

+3
-3
lines changed

packages/neuron-wallet/src/services/hardware/ledger.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ export default class Ledger extends Hardware {
153153
takeUntil(timer(2000)),
154154
filter<DescriptorEvent<any>>(e => e.type === 'add'),
155155
scan<DescriptorEvent<any>, DeviceInfo[]>((acc, e) => {
156-
let product = e.device.product;
157-
if(e.device.manufacturer === 'Ledger' && product === "Nano S+") {
158-
product = "Nano S Plus"
156+
let product = e.device.product
157+
if (e.device.manufacturer === 'Ledger' && product === 'Nano S+') {
158+
product = 'Nano S Plus'
159159
}
160160
return [
161161
...acc,

0 commit comments

Comments
 (0)