fix: glob 에러

This commit is contained in:
2026-02-26 11:55:09 +09:00
parent 485b041f97
commit d3bd1b5721
34 changed files with 5 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
import dayjs from "dayjs";
import "dayjs/locale/ko";
import utc from "dayjs/plugin/utc";
import timezone from "dayjs/plugin/timezone";
import relativeTime from "dayjs/plugin/relativeTime";
dayjs.extend(utc);
dayjs.extend(timezone);
dayjs.extend(relativeTime);
dayjs.locale("ko");
export { dayjs };
+2
View File
@@ -0,0 +1,2 @@
export { queryClient } from "./query-client";
export { dayjs } from "./dayjs";
+11
View File
@@ -0,0 +1,11 @@
import { QueryClient } from "@tanstack/react-query";
export const queryClient = new QueryClient({
defaultOptions: {
queries: {
retry: 1,
refetchOnWindowFocus: false,
staleTime: 60 * 1000,
},
},
});