From 1365d8f69381b0adf8cedd156c00a4b776ecf7b6 Mon Sep 17 00:00:00 2001 From: Michal Date: Fri, 2 Aug 2024 12:34:57 +0100 Subject: [PATCH] useErrorBoundary for ReviewTransaction --- .../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 e2bb13f90a..d4f6501d1f 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), queryKey: ['txDetails', cbor]}) + return useQuery({queryFn: () => getTxDetails(cbor), useErrorBoundary: true, queryKey: ['txDetails', cbor]}) } const useFormattedTransaction = (cbor: string) => {