1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-21 17:37:01 +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 GitHub
parent 785e0d0923
commit 12a1c66dc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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