fix 24h change

This commit is contained in:
tjs 2023-07-17 02:13:13 -04:00
parent 83f9f121fc
commit ba644e867d
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ export default function use24HourChange(
data: priceData, data: priceData,
isLoading: loadingPriceData, isLoading: loadingPriceData,
isFetching: fetchingPriceData, isFetching: fetchingPriceData,
} = useQuery(['token-prices', market], () => fetchPrices(market), { } = useQuery(['token-prices', market?.name], () => fetchPrices(market), {
cacheTime: 1000 * 60 * 10, cacheTime: 1000 * 60 * 10,
staleTime: 1000 * 60, staleTime: 1000 * 60,
retry: 3, retry: 3,