Page messed up after login
Unanswered
In&Out posted this in #help-forum
In&OutOP
Hello, so after login, it redirects to dashboard, but the page is so messed up but when i press refresh it goes back to normal. How do i fix that? Would revalidatePath work or?
28 Replies
Knopper gall
low effort sorry can't help without more details
https://nextjs-forum.com/post/1138338531983491154
https://nextjs-forum.com/post/1138338531983491154
there isnt anything else to post, thats the whole issue
Toyger
there is a lot to post.
what you use for auth? what messed up? where is screenshot of normal page and messed? where code for dashboard page.
what you use for auth? what messed up? where is screenshot of normal page and messed? where code for dashboard page.
In&OutOP
Alright, one second
It looks like this, but when i refresh its back to normal
I am using supabase
Here is code for it
for login page
@In&Out It looks like this, but when i refresh its back to normal
Toyger
and how normal page look like?
@Toyger and how normal page look like?
In&OutOP
Does it matter lol?
here you go ig
@In&Out Does it matter lol?
Knopper gall
if you want any help, then yes, it matters.
You've not described your issue in any logical amount of detail and omitted important information.
If you want help in this forum I suggest you outline your question clearly and provide as much information as possible, both initially, and when asked 🤦
You've not described your issue in any logical amount of detail and omitted important information.
If you want help in this forum I suggest you outline your question clearly and provide as much information as possible, both initially, and when asked 🤦
@Knopper gall if you want any help, then yes, it matters.
You've not described your issue in any logical amount of detail and omitted important information.
If you want help in this forum I suggest you outline your question clearly and provide as much information as possible, both initially, and when asked 🤦
In&OutOP
well i did now, not sure what else to post
@In&Out Click to see attachment
Toyger
this background is some custom gradient, where you set it? maybe in layout?
Knopper gall
sounds like they're using some kind of parallel routing if not nesting layout.tsx
Toyger
can you show it code?
@Toyger can you show it code?
In&OutOP
code of layout?
Toyger
yes
@Toyger yes
In&OutOP
sorry i mixed something, its not layout but from css. Layout is unchanged
@Toyger yes
In&OutOP
I am sorry, the issue was because I used body{} in css to put the gradient in
it works now
Knopper gall
PEBKAC