feat(web): auth context, login page, route guards, toast/error shell

This commit is contained in:
2026-09-07 15:27:11 +08:00
parent 2f0fc25c7c
commit c34289ebbe
8 changed files with 236 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
import { QueryClient } from "@tanstack/react-query";
export const queryClient = new QueryClient({
defaultOptions: { queries: { retry: 1, refetchOnWindowFocus: false, staleTime: 10_000 } },
});