diff --git a/source/components/Profile/index.jsx b/source/components/Profile/index.jsx index f5712f13..252f51a7 100644 --- a/source/components/Profile/index.jsx +++ b/source/components/Profile/index.jsx @@ -42,6 +42,8 @@ import { AccountItem } from './components'; import UserIcon from '../UserIcon'; import useStyles from './styles'; +const IMPORT_WALLET_ENABLED = process.env.TARGET_BROWSER !== 'firefox'; + const Profile = ({ disableProfile }) => { const classes = useStyles(); const { t } = useTranslation(); @@ -204,6 +206,7 @@ const Profile = ({ disableProfile }) => { setOpen(false); }; + return ( <> { onClick={handleOpenCreateAccount} data-testid="create-account-button" /> - + { IMPORT_WALLET_ENABLED && ( + + )} { menuItems.map((item) => (