We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c828db9 commit 9549f08Copy full SHA for 9549f08
ui/pages/create-account/connect-hardware/account-list.js
@@ -74,8 +74,8 @@ class AccountList extends Component {
74
HardwareDeviceNames.trezor,
75
HardwareDeviceNames.oneKey,
76
]
77
- .map((name) => name.toLowerCase())
78
- .includes(device.toLowerCase());
+ // TODO: check if we really need to compare lowercased values
+ .some((name) => name.toLowerCase() === device.toLowerCase());
79
return (
80
<div className="hw-connect">
81
<h3 className="hw-connect__unlock-title">
0 commit comments