fix: conform error snuck through (#4089)

This commit is contained in:
Chris Arderne
2026-06-30 16:45:20 +01:00
committed by GitHub
parent 1e6cc19088
commit 5b01ebdb61
+2 -2
View File
@@ -107,7 +107,7 @@ export const action: ActionFunction = async ({ request }) => {
return json(
{
intent: submission.intent,
intent: intent,
payload: submission.payload,
error: { "": [error.message] },
},
@@ -144,7 +144,7 @@ export default function Page() {
className="mb-0 text-sky-500"
title={simplur`You have ${invites.length} new invitation[|s]`}
/>
<FormError>{form.error}</FormError>
<FormError>{form.errors}</FormError>
{invites.map((invite) => (
<Form key={invite.id} method="post" {...getFormProps(form)}>
<Fieldset>