common query client 기본 옵션 공용화

This commit is contained in:
kyy
2026-05-12 13:49:51 +09:00
parent c0c5a23dc1
commit d371bd32c8
4 changed files with 16 additions and 21 deletions
+7
View File
@@ -0,0 +1,7 @@
export const queryClientDefaultOptions = {
queries: {
staleTime: 30_000,
refetchOnWindowFocus: false,
retry: 1,
},
} as const;