Skip to content

Commit 5cdee27

Browse files
committed
add exercise part 2 in hook reducer
1 parent 99c3d63 commit 5cdee27

File tree

1 file changed

+4
-2
lines changed
  • src/components/patterns/HookReducer

1 file changed

+4
-2
lines changed

src/components/patterns/HookReducer/Page.jsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const Page = () => (
4646
know.
4747
</p>
4848

49-
<h3>Exercise</h3>
49+
<h3>Exercise part 1</h3>
5050

5151
<h4>
5252
🎯 The goal is to understand how to handle complex state logic in our
@@ -75,7 +75,7 @@ const Page = () => (
7575

7676
<Exercise />
7777
<hr />
78-
<h3>Bonus exercise</h3>
78+
<h3>Exercise part 2</h3>
7979
<p>
8080
<input type="checkbox" /> Create a custom hook from your Login Form. You
8181
can call it useForm.
@@ -87,6 +87,8 @@ const Page = () => (
8787
Don't think of state only, but also functions that create "props".
8888
</li>
8989
</ul>
90+
91+
<h3>Bonus exercise</h3>
9092
</React.Fragment>
9193
);
9294

0 commit comments

Comments
 (0)