Skip to content

Commit

Permalink
more instruction improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed May 6, 2024
1 parent 4f7e833 commit 6e95a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/07.forms/04.problem.submit/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function App() {
<form
action="api/onboarding"
// 🦉 Follow these instructions in order. Test the behavior after each step
// 1️⃣ 🐨 set the method to "POST"
// 1️⃣ 🐨 set the method to "POST" then update api.server.ts to handle the POST request
// 2️⃣ 🐨 set the encType to "multipart/form-data"
// 3️⃣ 🐨 add an onSubmit handler that calls event.preventDefault()
// 4️⃣ 🐨 create a FormData object from the the form (💰 event.currentTarget)
Expand Down

0 comments on commit 6e95a79

Please sign in to comment.