fix 24h change
This commit is contained in:
parent
83f9f121fc
commit
ba644e867d
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue