From de468da8cd9d27721182f3c3838951f235613dab Mon Sep 17 00:00:00 2001 From: chunogreg Date: Thu, 13 Aug 2026 18:48:38 +0100 Subject: [PATCH] Change instruction to create useField hook --- src/content/7/en/part7a.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: