Steps to replicate:
- Create a new project with
npm create convex@latest and select TanStack Start and WorkOS
- Run
npm install and npm run dev
- Open http://localhost:3000 in your browser
You'll see this warning in both your shell and the browser console on every pageload:
Warning: useRouter must be used inside a <RouterProvider> component!
In the browser, the warning is a stack trace, which shows that the warning is being emitted from AuthKitProvider. The AuthKitProvider is defined alongside the router, but no RouterProvider is being used. AFAICT this doesn't impact functionality, it just creates noise.
Related: TanStack/router#2978