diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a2851c6e..4fada581b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +- ## [[2.3.4](https://github.com/multiversx/mx-explorer-dapp/pull/215)] - 2026-01-26 + +- [Fix token holders fetch param](https://github.com/multiversx/mx-explorer-dapp/pull/214) + - ## [[2.3.3](https://github.com/multiversx/mx-explorer-dapp/pull/213)] - 2026-01-22 - [Websocket Transfers](https://github.com/multiversx/mx-explorer-dapp/pull/210) diff --git a/package.json b/package.json index 29165310e..1e2fe624e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "mx-explorer-dapp", "description": "MultiversX Blockchain Explorer", - "version": "2.3.3", + "version": "2.3.4", "author": "MultiversX", "license": "GPL-3.0-or-later", "repository": "multiversx/mx-explorer-dapp", diff --git a/src/layouts/TokenLayout/FailedTokenDetails.tsx b/src/layouts/TokenLayout/FailedTokenDetails.tsx index 2c96ca918..fac9fcd4d 100644 --- a/src/layouts/TokenLayout/FailedTokenDetails.tsx +++ b/src/layouts/TokenLayout/FailedTokenDetails.tsx @@ -2,9 +2,9 @@ import { PageState } from 'components'; import { faCoins } from 'icons/regular'; export const FailedTokenDetails = ({ - tokenId + tokenIdentifier }: { - tokenId: string | undefined; + tokenIdentifier: string | undefined; }) => { return ( - {tokenId} + {tokenIdentifier} } isError diff --git a/src/layouts/TokenLayout/TokenLayout.tsx b/src/layouts/TokenLayout/TokenLayout.tsx index ebdacb59b..16dc428fe 100644 --- a/src/layouts/TokenLayout/TokenLayout.tsx +++ b/src/layouts/TokenLayout/TokenLayout.tsx @@ -77,7 +77,7 @@ export const TokenLayout = () => { } if (failed) { - return ; + return ; } if (loading) { diff --git a/src/pages/TokenDetails/TokenAccounts.tsx b/src/pages/TokenDetails/TokenAccounts.tsx index 5a6fa5350..e2b9f39f2 100644 --- a/src/pages/TokenDetails/TokenAccounts.tsx +++ b/src/pages/TokenDetails/TokenAccounts.tsx @@ -31,8 +31,8 @@ export const TokenDetailsAccounts = () => { const fetchAccounts = () => { Promise.all([ - getTokenAccounts({ tokenId: identifier, page, size }), - getTokenAccountsCount({ tokenId: identifier }) + getTokenAccounts({ token: identifier, page, size }), + getTokenAccountsCount({ token: identifier }) ]).then(([tokenAccountsData, tokenAccountsCountData]) => { if (tokenAccountsData.success && tokenAccountsCountData.success) { setAccounts(tokenAccountsData.data); diff --git a/src/pages/TokenDetails/TokenLockedAccounts.tsx b/src/pages/TokenDetails/TokenLockedAccounts.tsx index 92c160781..c59906276 100644 --- a/src/pages/TokenDetails/TokenLockedAccounts.tsx +++ b/src/pages/TokenDetails/TokenLockedAccounts.tsx @@ -20,7 +20,7 @@ export const TokenDetailsLockedAccounts = () => { const [isDataReady, setIsDataReady] = useState(); const fetchTokenLockedAccounts = () => { - getTokenSupply({ tokenId: identifier }).then(({ data, success }) => { + getTokenSupply({ token: identifier }).then(({ data, success }) => { if (success && data?.lockedAccounts) { setTokenLockedAccounts(data.lockedAccounts); } diff --git a/src/pages/TokenDetails/TokenTransactions.tsx b/src/pages/TokenDetails/TokenTransactions.tsx index 3c264b061..c662508fb 100644 --- a/src/pages/TokenDetails/TokenTransactions.tsx +++ b/src/pages/TokenDetails/TokenTransactions.tsx @@ -17,7 +17,7 @@ export const TokenTransactions = () => { const { getTokenTransfers, getTokenTransfersCount } = useAdapter(); const { id: activeNetworkId } = useSelector(activeNetworkSelector); - const { hash: tokenId } = useParams(); + const { hash: tokenIdentifier } = useParams(); const { fetchTransactions, @@ -26,20 +26,20 @@ export const TokenTransactions = () => { isDataReady, dataChanged } = useFetchCustomTransfers({ - uuid: tokenId, + uuid: tokenIdentifier, dataPromise: getTokenTransfers, dataCountPromise: getTokenTransfersCount, subscription: WebsocketSubcriptionsEnum.subscribeCustomTransfers, event: WebsocketEventsEnum.customTransferUpdate, filters: { - token: tokenId + token: tokenIdentifier }, - websocketConfig: { token: tokenId } + websocketConfig: { token: tokenIdentifier } }); useEffect(() => { fetchTransactions(); - }, [activeNetworkId, tokenId]); + }, [activeNetworkId, tokenIdentifier]); useEffect(() => { fetchTransactions(Boolean(searchParams.toString())); @@ -51,7 +51,7 @@ export const TokenTransactions = () => {
} dataChanged={dataChanged}