Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with redirect() method #100

Open
AbdoSarmini opened this issue Oct 31, 2024 · 1 comment
Open

Doesn't work with redirect() method #100

AbdoSarmini opened this issue Oct 31, 2024 · 1 comment

Comments

@AbdoSarmini
Copy link

AbdoSarmini commented Oct 31, 2024

Hi. In my code, I am using redirect("/") method from next/navigation. But when the redirect happens the toploader doesn't show. It is with working with normal Link components. Is there another way to do the redirection so that the toploader shows?

@emhat098
Copy link

emhat098 commented Nov 6, 2024

I think redirect is only used on server not for client. When we do something with redirect. It is completely must use on the server. I mean.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants