Toast not showing using useEffect #2783
Unanswered
luis-viegas
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hello @luis-viegas, I don't know if I understand perfectly, maybe it would be good if you created a codepen with the example, but I understand that you want to show a toast before the redirection, if so, you can just invoke the toast function before the redirection, I want say, where you are dispatching the redirect, you can simply invoke the toast beforehand. if I got it wrong, can you give us more details? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. I am trying to render a toast after a redirect from a server action, but first, I need to be able to render a toast on page load.
I can't figure out why this does not work... any help?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions