(
accounts.find(account => account.idWallet === selectedWallet?.id)
@@ -148,23 +153,39 @@ export const WalletsPage = () => {
{StringHelper.truncateStringMiddle(selectedAccount.address, 8)}
}
- size="sm"
colorSchema="neon"
compacted
onClick={() => UtilsHelper.copyToClipboard(selectedAccount.address)}
/>
- }
- label={t('editAccountButton')}
- className="w-fit"
- variant="text"
- flat
- colorSchema="gray"
- clickableProps={{ className: 'text-xs' }}
- onClick={modalNavigateWrapper('persist-account', { state: { account: selectedAccount } })}
- />
+
+
+ {lastUpdated && (
+
+ {t('lastUpdated', { date: new Date(lastUpdated).toLocaleTimeString() })}
+
+ )}
+ }
+ compacted
+ size="sm"
+ colorSchema="neon"
+ onClick={refetch}
+ />
+
+
+
}
+ label={t('editAccountButton')}
+ className="w-fit"
+ variant="text"
+ flat
+ colorSchema="gray"
+ clickableProps={{ className: 'text-xs' }}
+ onClick={modalNavigateWrapper('persist-account', { state: { account: selectedAccount } })}
+ />
+
diff --git a/src/shared/@types/i18next-resources.d.ts b/src/shared/@types/i18next-resources.d.ts
index fe9823c6..f7ecd1ef 100644
--- a/src/shared/@types/i18next-resources.d.ts
+++ b/src/shared/@types/i18next-resources.d.ts
@@ -888,6 +888,7 @@ interface Resources {
newWalletButtonLabel: 'New Wallet'
address: 'Address'
accounts: 'Accounts'
+ lastUpdated: 'Last updated: {{date}}'
accountNftList: {
title: 'NFTs'
empty: 'No NFTS to display'