Skip to content

Commit

Permalink
fix(wallet-mobile): Fix TX details query error (#3463)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljscript authored Jul 29, 2024
1 parent e37f29c commit 6c53986
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ const getTxDetails = async (cbor: string): Promise<TxDetails> => {
}

const useTxDetails = (cbor: string) => {
return useQuery({queryFn: () => getTxDetails(cbor)})
return useQuery({queryFn: () => getTxDetails(cbor), queryKey: ['txDetails', cbor]})
}

const useFormattedTransaction = (cbor: string) => {
Expand Down

0 comments on commit 6c53986

Please sign in to comment.