mirror of
https://github.com/RYDE-WORK/full-stack-fastapi-template.git
synced 2026-01-19 21:23:36 +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 queryClient = new QueryClient()
|
||||||
|
|
||||||
const router = createRouter({ routeTree, context: { queryClient } })
|
const router = createRouter({ routeTree })
|
||||||
declare module "@tanstack/react-router" {
|
declare module "@tanstack/react-router" {
|
||||||
interface Register {
|
interface Register {
|
||||||
router: typeof router
|
router: typeof router
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user