✨ Add stale time to useGetDashboardIcons query

This commit is contained in:
ajnart committed 2023-05-15 16:24:22 +09:00
1 parent 9f4f3794b0
commit 599ccda1ed
1 file changed
+1
+1
View File
@@ -12,5 +12,6 @@ export const useGetDashboardIcons = () =>
refetchOnMount: false,
// Cache for infinity, refetch every so often.
cacheTime: Infinity,
staleTime: 1000 * 60 * 5, // 5 minutes
refetchOnWindowFocus: false,
});