Skip to content

Commit e3cf542

Browse files
authored
Fix line numbers
1 parent 741dc3b commit e3cf542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/hooks-reference.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ You can also create the initial state lazily. To do this, you can pass an `init`
232232

233233
It lets you extract the logic for calculating the initial state outside the reducer. This is also handy for resetting the state later in response to an action:
234234

235-
```js{1-3,11-12,21,26}
235+
```js{1-3,11-12,19,24}
236236
function init(initialCount) {
237237
return {count: initialCount};
238238
}

0 commit comments

Comments
 (0)