Skip to content

Commit

Permalink
Remove broken Astro v4 example code
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerlwsmith committed Dec 21, 2024
1 parent 7aca800 commit cac9cf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/docs/en/guides/actions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ const result = Astro.getActionResult(actions.newsletter);
const inputErrors = isInputError(result?.error) ? result.error.fields : {};
---
<form method="POST" action={'/confirmation' + actions.newsletter}>
<form method="POST" action={actions.newsletter}>
<label>
E-mail
<input required type="email" name="email" aria-describedby="error" />
Expand Down

0 comments on commit cac9cf5

Please sign in to comment.