Skip to content

Commit 9710747

Browse files
committed
remove duplicity for usestate and events
1 parent b9a13f0 commit 9710747

File tree

3 files changed

+1
-79
lines changed

3 files changed

+1
-79
lines changed

docs/usereducer-hook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ type action =
1212
| Increment
1313
| Decrement;
1414
15-
/* similarly on 'state', it can be anything. In this case, it's an int */
15+
/* `state` could also be anything. In this case, we want an int */
1616
let reducer = (state, action) =>
1717
switch (action) {
1818
| Increment => state + 1

docs/usestate-event-value.md

Lines changed: 0 additions & 75 deletions
This file was deleted.

website/i18n/en.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,6 @@
116116
"usereducer-hook": {
117117
"title": "useReducer"
118118
},
119-
"usestate-event-value": {
120-
"title": "Using Event Values With useState"
121-
},
122119
"usestate-hook": {
123120
"title": "useState"
124121
},

0 commit comments

Comments
 (0)