Fix unnecessary keyring check

feature/default_network_editable
David Walsh 4 years ago
parent cce269b632
commit 56cff1a91a
  1. 2
      ui/app/components/app/modals/account-details-modal/account-details-modal.component.js

@ -37,7 +37,7 @@ export default class AccountDetailsModal extends Component {
let exportPrivateKeyFeatureEnabled = true let exportPrivateKeyFeatureEnabled = true
// This feature is disabled for hardware wallets // This feature is disabled for hardware wallets
if (keyring && keyring?.type?.search('Hardware') !== -1) { if (keyring?.type?.search('Hardware') !== -1) {
exportPrivateKeyFeatureEnabled = false exportPrivateKeyFeatureEnabled = false
} }

Loading…
Cancel
Save