Next.js Discord

Discord Forum

How to clear state when using useFormState with a server action to dismiss an alert message?

Unanswered
adam.birds posted this in #help-forum
Open in Discord
I have attached the code as it wouldn't fit. I'm not sure how to clear the message and status to dismiss the message.

0 Replies