From ee4d3947b82bd2fae0931f82a26b61d46b7c9a03 Mon Sep 17 00:00:00 2001 From: Pico2x Date: Tue, 4 Oct 2022 14:38:07 +0100 Subject: [PATCH] moar contracts in mentions --- web/hooks/use-contracts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/hooks/use-contracts.ts b/web/hooks/use-contracts.ts index baba0270..61a956c9 100644 --- a/web/hooks/use-contracts.ts +++ b/web/hooks/use-contracts.ts @@ -92,7 +92,7 @@ export const useContractsByDailyScoreGroups = ( const q = new QueryClient() export const getCachedContracts = async () => - q.fetchQuery(['contracts'], () => listAllContracts(1000), { + q.fetchQuery(['contracts'], () => listAllContracts(10000), { staleTime: Infinity, })