From ba644e867dcc6e9eac6b6daae05264142e89b465 Mon Sep 17 00:00:00 2001 From: tjs Date: Mon, 17 Jul 2023 02:13:13 -0400 Subject: [PATCH] fix 24h change --- hooks/use24HourChange.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/use24HourChange.tsx b/hooks/use24HourChange.tsx index fb56c07d..ae9f3c3d 100644 --- a/hooks/use24HourChange.tsx +++ b/hooks/use24HourChange.tsx @@ -48,7 +48,7 @@ export default function use24HourChange( data: priceData, isLoading: loadingPriceData, isFetching: fetchingPriceData, - } = useQuery(['token-prices', market], () => fetchPrices(market), { + } = useQuery(['token-prices', market?.name], () => fetchPrices(market), { cacheTime: 1000 * 60 * 10, staleTime: 1000 * 60, retry: 3,