diff --git a/ui/app/components/app/modals/account-details-modal/account-details-modal.component.js b/ui/app/components/app/modals/account-details-modal/account-details-modal.component.js index e3b874d4c..f3b6d5586 100644 --- a/ui/app/components/app/modals/account-details-modal/account-details-modal.component.js +++ b/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 // This feature is disabled for hardware wallets - if (keyring && keyring?.type?.search('Hardware') !== -1) { + if (keyring?.type?.search('Hardware') !== -1) { exportPrivateKeyFeatureEnabled = false }