Getting "drawer.css.map" when accessing getServerSideProps context
This is so dumb. I'm using Next.js 13, and a very simple getServerSideProps function, which should get the user id from the page route.
The file is
/pages/admin/[user].tsx, and I'm accessing the param using ctx.params.user, but even when the route is, for example, <host>/admin/id1234, the ctx.params.user value is "drawer.css.map".
Any ideas why this is happening?0 Replies