Skip to content

Commit

Permalink
Merge branch 'main' of github.com:multiversx/mx-explorer-dapp into de…
Browse files Browse the repository at this point in the history
…velopment
  • Loading branch information
radumojic committed Oct 18, 2024
2 parents a9edb1b + 0a9026c commit 29cb16d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/layouts/NativeTokenLayout/NativeTokenDetailsCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
3 changes: 2 additions & 1 deletion src/pages/NativeToken/NativeTokenTransactions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -21,7 +22,7 @@ export const NativeTokenTransactions = () => {
isDataReady,
dataChanged
} = useFetchTransactions(getTransfers, getTransfersCount, {
token: egldLabel
token: isEgldToken(egldLabel) ? 'EGLD' : egldLabel
});

useEffect(() => {
Expand Down

0 comments on commit 29cb16d

Please sign in to comment.