mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 12:29:06 +01:00
Fix unnecessary keyring check
This commit is contained in:
parent
cce269b632
commit
56cff1a91a
@ -37,7 +37,7 @@ export default class AccountDetailsModal extends Component {
|
||||
|
||||
let exportPrivateKeyFeatureEnabled = true
|
||||
// This feature is disabled for hardware wallets
|
||||
if (keyring && keyring?.type?.search('Hardware') !== -1) {
|
||||
if (keyring?.type?.search('Hardware') !== -1) {
|
||||
exportPrivateKeyFeatureEnabled = false
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user