diff --git a/apps/webapp/app/routes/invites.tsx b/apps/webapp/app/routes/invites.tsx index cccd1073a5..2d7e4b1c04 100644 --- a/apps/webapp/app/routes/invites.tsx +++ b/apps/webapp/app/routes/invites.tsx @@ -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]`} /> - {form.error} + {form.errors} {invites.map((invite) => (