mirror of
https://github.com/RYDE-WORK/full-stack-fastapi-template.git
synced 2026-01-19 13:13:25 +08:00
🔧 Remove unused context from router creation (#1498)
This commit is contained in:
parent
86ef743226
commit
7b05fc1f6d
@ -15,7 +15,7 @@ OpenAPI.TOKEN = async () => {
|
||||
|
||||
const queryClient = new QueryClient()
|
||||
|
||||
const router = createRouter({ routeTree, context: { queryClient } })
|
||||
const router = createRouter({ routeTree })
|
||||
declare module "@tanstack/react-router" {
|
||||
interface Register {
|
||||
router: typeof router
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user