chore: auth context

This commit is contained in:
Aslam H
2024-10-08 16:01:36 +07:00
parent 7c31f9b417
commit 94be662fc2
3 changed files with 8 additions and 10 deletions

View File

@@ -13,7 +13,7 @@ export function createRouter() {
defaultPreload: "intent",
defaultErrorComponent: DefaultCatchBoundary,
defaultNotFoundComponent: () => <NotFound />,
context: { queryClient },
context: { queryClient, auth: undefined! },
}),
queryClient,
)