diff --git a/packages/extension-polkagate/src/components/AccountIcons.tsx b/packages/extension-polkagate/src/components/AccountIcons.tsx index 18de05bf9..aee2a1e8b 100644 --- a/packages/extension-polkagate/src/components/AccountIcons.tsx +++ b/packages/extension-polkagate/src/components/AccountIcons.tsx @@ -53,7 +53,7 @@ function AccountIcons ({ address, identiconTheme, isSubId, judgements, prefix }: isSubId={isSubId} judgement={judgements} prefix={prefix} - size={40} + size={35} value={formatted || address} /> diff --git a/packages/extension-polkagate/src/popup/home/AccountDetail.tsx b/packages/extension-polkagate/src/popup/home/AccountDetail.tsx index 9b707eef7..a12354cbe 100644 --- a/packages/extension-polkagate/src/popup/home/AccountDetail.tsx +++ b/packages/extension-polkagate/src/popup/home/AccountDetail.tsx @@ -90,7 +90,7 @@ const Balance = ({ balanceToShow, isBalanceOutdated }: { balanceToShow: Balances return ( <> {balanceToShow?.decimal - ? + ? priceDate !== undefined && Date.now() - priceDate > BALANCES_VALIDITY_PERIOD, [priceDate]); + const isPriceOutdated = useMemo(() => priceDate !== undefined && Date.now() - priceDate > BALANCES_VALIDITY_PERIOD, [priceDate]); const isBalanceOutdated = useMemo(() => balances && Date.now() - balances.date > BALANCES_VALIDITY_PERIOD, [balances]); const [balanceToShow, setBalanceToShow] = useState(); @@ -163,7 +163,7 @@ function AccountDetail ({ address, chain, goToAccount, hideNumbers, identity, is - + {identity?.display || name || t('Unknown')}