diff --git a/nym-wallet/src/components/Accounts/AccountItem.tsx b/nym-wallet/src/components/Accounts/AccountItem.tsx index 92271a6a4b..e19cf7efd5 100644 --- a/nym-wallet/src/components/Accounts/AccountItem.tsx +++ b/nym-wallet/src/components/Accounts/AccountItem.tsx @@ -29,9 +29,9 @@ export const AccountItem = ({ const { selectedAccount, setDialogToDisplay, setAccountMnemonic, handleAccountToEdit } = useContext(AccountsContext); const { copy, copied } = useClipboard({ copiedTimeout: 1000 }); const theme = useTheme(); - + const isSelected = selectedAccount?.id === name; - + return ( {isSelected && ( - )} } > - {/* Account avatar with box wrapper to apply styling */} - ) => { e.stopPropagation(); @@ -176,4 +174,4 @@ export const AccountItem = ({ ); -}; \ No newline at end of file +}; diff --git a/nym-wallet/src/components/Accounts/modals/AccountsModal.tsx b/nym-wallet/src/components/Accounts/modals/AccountsModal.tsx index 964700e410..479335021e 100644 --- a/nym-wallet/src/components/Accounts/modals/AccountsModal.tsx +++ b/nym-wallet/src/components/Accounts/modals/AccountsModal.tsx @@ -2,7 +2,6 @@ import React, { useContext, useState } from 'react'; import { Box, Button, - Paper, Dialog, DialogActions, DialogContent, @@ -74,8 +73,8 @@ export const AccountsModal = () => { { - Switch between accounts - - { ))} - + - - - -