Closed Sembauke closed 5 months ago
I am not sure what is going on with the tests
I changed some colors when hovering table rows and buttons. Hope you don't mind 🙂
I am not sure what is going on with the tests
So according to the copilot chat... in Next.js, every file inside the pages directory must have a default export of a React component.
The build before the tests was failing because theme.js didn't have a default export of a React component. (as far as I understood)
One of the proposed solutions was to move theme.js out of pages directory, and it worked! https://nextjs.org/docs/messages/page-without-valid-component
One of the proposed solutions was to move theme.js out of pages directory, and it worked!
Yes that's correct and the recommended way. Basically anything inside pages
is the code for the layout of individual pages. Anything else should be kept outside the folder as Next.js will attempt to render every file in pages
You can find the dark mode option in the account menu at the bottom of the navigation drawer.
closes #399