diff --git a/src/layouts/NativeTokenLayout/NativeTokenDetailsCard.tsx b/src/layouts/NativeTokenLayout/NativeTokenDetailsCard.tsx index 636127b8a..eddf55374 100644 --- a/src/layouts/NativeTokenLayout/NativeTokenDetailsCard.tsx +++ b/src/layouts/NativeTokenLayout/NativeTokenDetailsCard.tsx @@ -73,7 +73,7 @@ export const NativeTokenDetailsCard = () => { !assets && ticker !== name ? { title: 'Name', value: name } : {}, { title: 'Decimals', value: decimals } ], - [assets] + [assets, ticker, name] ); const statsCards = useMemo( diff --git a/src/pages/NativeToken/NativeTokenTransactions.tsx b/src/pages/NativeToken/NativeTokenTransactions.tsx index df388071e..b0714e9df 100644 --- a/src/pages/NativeToken/NativeTokenTransactions.tsx +++ b/src/pages/NativeToken/NativeTokenTransactions.tsx @@ -3,6 +3,7 @@ import { useSelector } from 'react-redux'; import { useSearchParams } from 'react-router-dom'; import { TransactionsTable } from 'components'; +import { isEgldToken } from 'helpers'; import { useAdapter, useFetchTransactions } from 'hooks'; import { NativeTokenTabs } from 'layouts/NativeTokenLayout/NativeTokenTabs'; import { activeNetworkSelector } from 'redux/selectors'; @@ -21,7 +22,7 @@ export const NativeTokenTransactions = () => { isDataReady, dataChanged } = useFetchTransactions(getTransfers, getTransfersCount, { - token: egldLabel + token: isEgldToken(egldLabel) ? 'EGLD' : egldLabel }); useEffect(() => {