Replies: 1 comment
-
Hi, The problem is that So by accident your try catch is, picking up on that, and preventing the runtime from receiving the redirect error, and doing its proper work. Read a bit more here, https://nextjs.org/learn/dashboard-app/error-handling#adding-trycatch-to-server-actions:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Olá, pessoal, estou com um problema de rotas, ai realizar a autenticação, não estou conseguindo direcionar para a tela inicial - painel, retorna no console o seguinte Error: NEXT_REDIRECT
e logo não realiza o direcionammento, isso tanto com o redirect ou router.push
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions