Skip to content

Commit

Permalink
docs(guide/data-writes.md): fix linting (remix-run#5293)
Browse files Browse the repository at this point in the history
  • Loading branch information
machour authored Jan 28, 2023
1 parent c6edd76 commit 9a0d43e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/data-writes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9a0d43e

Please sign in to comment.