I’m currently developing a web app to manage cars. I created the login and register logic, and after I log out from my account, it goes back to my initial page, but the background color bugs and just appears as white, but after I refresh the page, it goes back to normal. Did it ever happen to anyone?
(I’m currently using next.js, react, tailwind css, pocketbase and shadcn ui).
Initial page:
Initial page
Dashboard:
Dashboard
After log out:
After logout
Logout logic:
Logout logic
File structure
File structure
Initial page layout
Initial page layout
I haven’t tried anything yet, because I didn’t have the time because of college.
1