Skip to content

Commit a11ab74

Browse files
authored
🔧 Remove unused context from router creation (fastapi#1498)
1 parent 937ae1c commit a11ab74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/main.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ OpenAPI.TOKEN = async () => {
1515

1616
const queryClient = new QueryClient()
1717

18-
const router = createRouter({ routeTree, context: { queryClient } })
18+
const router = createRouter({ routeTree })
1919
declare module "@tanstack/react-router" {
2020
interface Register {
2121
router: typeof router

0 commit comments

Comments
 (0)