From 00b84b40774175505e9f5f07a7ecb5cb45b857aa Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Tue, 21 Nov 2023 19:41:41 +0100 Subject: [PATCH] feat: make comment generic --- src/pages/Lending/hooks/useLendingPositionData.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Lending/hooks/useLendingPositionData.tsx b/src/pages/Lending/hooks/useLendingPositionData.tsx index 8c0d54d721a..493b74f8d9e 100644 --- a/src/pages/Lending/hooks/useLendingPositionData.tsx +++ b/src/pages/Lending/hooks/useLendingPositionData.tsx @@ -19,7 +19,7 @@ export const useLendingPositionData = ({ accountId, assetId }: UseLendingPositio const poolAssetMarketData = useAppSelector(state => selectMarketDataById(state, assetId)) const lendingPositionData = useQuery({ - // 2 minutes before the data is considered stale, meaning firing this query will trigger queryFn + // The time before the data is considered stale, meaning firing this query after it elapses will trigger queryFn staleTime: 60_000, queryKey: lendingPositionQueryKey, queryFn: async ({ queryKey }) => {