Replies: 1 comment
-
You are free to change the shape of your action result return {
result: submission.reply(),
message: 'success',
} As long as you pass the submission result back to the useForm hook const actionData = useActionData()
const [form, fields] = useForm({
result: actionData?.result
}) |
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
-
How to return custom success message with submission.reply()?
Beta Was this translation helpful? Give feedback.
All reactions