diff --git a/docs/guides/data-writes.md b/docs/guides/data-writes.md index 2dfc5d92eb5..6060c52a254 100644 --- a/docs/guides/data-writes.md +++ b/docs/guides/data-writes.md @@ -211,7 +211,7 @@ If there are validation errors, we want to go back to the form and display them. ```tsx lines=[1, 5, 7-10] import { redirect, json} from "@remix-run/node"; // or cloudflare/deno -... +// ... export const action = async ({ request }: ActionArgs) => { const formData = await request.formData(); const [errors, project] = await createProject(formData);