Skip to content

Commit 4b69d1d

Browse files
committed
[DDW-1092] Removed more unnecessary null checks
1 parent 9648cbe commit 4b69d1d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/main/ipc/getHardwareWalletChannel.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ class EventObserver {
8282
deviceType: 'ledger',
8383
deviceId: null,
8484
// Available only when Cardano APP opened
85-
deviceModel: deviceModel.id || '',
85+
deviceModel: deviceModel.id,
8686
// e.g. nanoS
87-
deviceName: deviceModel.productName || '',
87+
deviceName: deviceModel.productName,
8888
// e.g. Test Name
89-
path: device.path || '',
90-
product: device.product || '',
89+
path: device.path,
90+
product: device.product,
9191
};
9292

9393
try {

0 commit comments

Comments
 (0)