diff --git a/src/content/7/en/part7a.md b/src/content/7/en/part7a.md index 9d9addd919..2149ff4e5d 100644 --- a/src/content/7/en/part7a.md +++ b/src/content/7/en/part7a.md @@ -608,7 +608,7 @@ npm run dev #### 7.1: useField hook -Copy the useField custom hook in the file src/hooks/index.js. The hook should manage the state of a single form input field and return an object with the following properties: type, value, and onChange. +Create a custom hook useField in the file src/hooks/index.js. The hook should manage the state of a single form input field and return an object with the following properties: type, value, and onChange. If you use the [named export](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export#Description) instead of the default export: