Skip to content

Commit

Permalink
feat: make comment generic
Browse files Browse the repository at this point in the history
  • Loading branch information
gomesalexandre committed Nov 21, 2023
1 parent 2961a9a commit 00b84b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Lending/hooks/useLendingPositionData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
Expand Down

0 comments on commit 00b84b4

Please sign in to comment.