From 825f60f1327f4a390f4d0d15bb2362f9d1fc3c4d Mon Sep 17 00:00:00 2001 From: Mandy Wade Date: Sun, 27 Feb 2022 09:19:40 -0500 Subject: [PATCH] Updates to the index section --- lessons/full-stack-build-an-app-adding-signup/index.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lessons/full-stack-build-an-app-adding-signup/index.md b/lessons/full-stack-build-an-app-adding-signup/index.md index c9174c20..3c2e6153 100644 --- a/lessons/full-stack-build-an-app-adding-signup/index.md +++ b/lessons/full-stack-build-an-app-adding-signup/index.md @@ -37,7 +37,7 @@ We can add a `

` tag to show the error message: } ``` -then add `useHistory` so we can redirect the user after signing up: +Then add `useHistory` so we can redirect the user after signing up: ```javascript const history = useHistory() @@ -45,7 +45,7 @@ const history = useHistory() ## Define handlers for the fields -then we will add a function to handle the user's input in the fields: +Then we will add a function to handle the user's input in the fields: ```javascript function handleStringFieldChange(event) { @@ -59,10 +59,10 @@ function handleStringFieldChange(event) { ``` Now use our two handling functions for the various `` fields and the -`

` +``. Update each `` field to use this function as the `onChange` and add a -`value` property to equal the appropriate attribute from `newUser` +`value` property to equal the appropriate attribute from `newUser`. ## Mutation @@ -114,7 +114,7 @@ Change the `` element to use our new mutation: > ``` -We will also add a route in `App.tsx` +We will also add a route in `App.tsx`. ```jsx