increase swap chart cache time

This commit is contained in:
tjs 2022-12-15 15:43:20 -05:00
parent 0bd71155f7
commit 19fad1f438
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ const SwapTokenChart = () => {
['chart-data', baseTokenId, quoteTokenId, daysToShow],
() => fetchChartData(baseTokenId, quoteTokenId, daysToShow),
{
cacheTime: 1000 * 60 * 1,
cacheTime: 1000 * 60 * 15,
staleTime: 1000 * 60 * 1,
enabled: !!baseTokenId && !!quoteTokenId,
}