From 164f9eb01eeeebe83bb4951497f52740195fc015 Mon Sep 17 00:00:00 2001 From: Zach Koch <6458318+ezekeal@users.noreply.github.com> Date: Sat, 28 Sep 2024 20:26:50 -0500 Subject: [PATCH] Clarify Form Action problem comments (#383) Remove a confusing line clarify with capitalization that FormData is the type of object --- exercises/07.forms/05.problem.action/index.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/exercises/07.forms/05.problem.action/index.tsx b/exercises/07.forms/05.problem.action/index.tsx index b4280e6b0..aa3e3c6c7 100644 --- a/exercises/07.forms/05.problem.action/index.tsx +++ b/exercises/07.forms/05.problem.action/index.tsx @@ -1,9 +1,8 @@ import { createRoot } from 'react-dom/client' function App() { - // 🐨 create a function called logFormData - // it accepts a formData object which - // 🐨 console.log the formData object like we do in the current onSubmit handler + // 🐨 create a function called logFormData which accepts a FormData object + // 🐨 console.log the FormData object like we do in the current onSubmit handler return (