From eaa88ba174fcb882f272b8ed842a61d5fb8a16d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20S=C3=A1nchez?= Date: Sun, 29 Jan 2023 22:06:11 -0500 Subject: [PATCH 1/3] Remove unused json import --- docs/tutorials/jokes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/jokes.md b/docs/tutorials/jokes.md index 552d4c284cd..619d42cbecc 100644 --- a/docs/tutorials/jokes.md +++ b/docs/tutorials/jokes.md @@ -1965,7 +1965,7 @@ But if there's an error, you can return an object with the error messages and th ```tsx filename=app/routes/jokes/new.tsx lines=[2-3,6,8-12,14-18,28-32,35-38,40-46,53,64,66-74,77-85,91,93-101,104-112,115-122] import type { ActionArgs } from "@remix-run/node"; -import { json, redirect } from "@remix-run/node"; +import { redirect } from "@remix-run/node"; import { useActionData } from "@remix-run/react"; import { db } from "~/utils/db.server"; From dfb179c7b76a906e6f86a932778a2ecbf4e4af1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20S=C3=A1nchez?= Date: Sun, 29 Jan 2023 22:10:13 -0500 Subject: [PATCH 2/3] Sign the CLA --- contributors.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/contributors.yml b/contributors.yml index 64cd104091c..87957af2e9f 100644 --- a/contributors.yml +++ b/contributors.yml @@ -88,6 +88,7 @@ - craigglennie - crismali - cysp +- d4vsanchez - dabdine - daganomri - damiensedgwick From 32d45f27687ddbe2e88bc07209483ce92d17b145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20S=C3=A1nchez?= Date: Sun, 29 Jan 2023 22:12:03 -0500 Subject: [PATCH 3/3] Remove 2 as added line --- docs/tutorials/jokes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/jokes.md b/docs/tutorials/jokes.md index 619d42cbecc..161d2adfd12 100644 --- a/docs/tutorials/jokes.md +++ b/docs/tutorials/jokes.md @@ -1963,7 +1963,7 @@ But if there's an error, you can return an object with the error messages and th app/routes/jokes/new.tsx -```tsx filename=app/routes/jokes/new.tsx lines=[2-3,6,8-12,14-18,28-32,35-38,40-46,53,64,66-74,77-85,91,93-101,104-112,115-122] +```tsx filename=app/routes/jokes/new.tsx lines=[3,6,8-12,14-18,28-32,35-38,40-46,53,64,66-74,77-85,91,93-101,104-112,115-122] import type { ActionArgs } from "@remix-run/node"; import { redirect } from "@remix-run/node"; import { useActionData } from "@remix-run/react";