1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

Use primary transaction to get token value in useTransactionDisplayData (#20536)

Co-authored-by: Jyoti Puri <jyotipuri@gmail.com>
This commit is contained in:
Dan J Miller 2023-08-21 07:45:25 -02:30 committed by Mark Stacey
parent a5bf7503f5
commit 838c8e1aa7

View File

@ -198,7 +198,7 @@ export function useTransactionDisplayData(transactionGroup) {
);
const tokenDisplayValue = useTokenDisplayValue(
initialTransaction?.txParams?.data,
primaryTransaction?.txParams?.data,
token,
isTokenCategory,
);