Skip to content

Commit 6da91a8

Browse files
authored
Fix heading
1 parent b525db0 commit 6da91a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/docs/manual/v9.0.0/newcomer-examples.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ function addTodo(state, todo) {
195195

196196
</CodeTab>
197197

198-
## Modeling actions
198+
### Modeling actions
199199

200200
For smaller reducers (reducers with only a few sub-functions), you can use a variant for your action type. You can use a `switch` statement to pattern match on the different action types. Here's an example of a reducer for a simple counter:
201201

0 commit comments

Comments
 (0)