From 6c5398615a92893e9dbb30bd4b2e6917b130c0ed Mon Sep 17 00:00:00 2001 From: Michal S Date: Mon, 29 Jul 2024 14:12:14 +0100 Subject: [PATCH] fix(wallet-mobile): Fix TX details query error (#3463) --- .../Discover/useCases/ReviewTransaction/ReviewTransaction.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/wallet-mobile/src/features/Discover/useCases/ReviewTransaction/ReviewTransaction.tsx b/apps/wallet-mobile/src/features/Discover/useCases/ReviewTransaction/ReviewTransaction.tsx index e6e9aa0789..e2bb13f90a 100644 --- a/apps/wallet-mobile/src/features/Discover/useCases/ReviewTransaction/ReviewTransaction.tsx +++ b/apps/wallet-mobile/src/features/Discover/useCases/ReviewTransaction/ReviewTransaction.tsx @@ -186,7 +186,7 @@ const getTxDetails = async (cbor: string): Promise => { } const useTxDetails = (cbor: string) => { - return useQuery({queryFn: () => getTxDetails(cbor)}) + return useQuery({queryFn: () => getTxDetails(cbor), queryKey: ['txDetails', cbor]}) } const useFormattedTransaction = (cbor: string) => {