"Make sure your app is wrapped in a `<Router>`" with Lucia-Auth
I'm trying to move over to Lucia-Auth, and I'm following this guide. I have a routeData function that looks like this:
But it gives me a "Make sure your app is wrapped in a
<Router>
" error. My app has the usual <FileRoutes />
wrapped in a <Routes>
tag, so I'm not sure what the problem is.1 Reply
Oh, I just needed this to be
routeData = () => createServerData$...
.