1
0
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:
David Walsh 2020-11-12 10:45:54 -06:00
parent cce269b632
commit 56cff1a91a

View File

@ -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
}