mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-21 19:31:57 +00:00
fix: correct typo in scaling-up-with-reducer-and-context.md (#7390)
Fix typo in the 'Step 3: Use context anywhere in the tree' section by changing TaskContext to TasksContext for accuracy.
This commit is contained in:
@@ -685,7 +685,7 @@ Now you don't need to pass the list of tasks or the event handlers down the tree
|
||||
</TasksContext>
|
||||
```
|
||||
|
||||
Instead, any component that needs the task list can read it from the `TaskContext`:
|
||||
Instead, any component that needs the task list can read it from the `TasksContext`:
|
||||
|
||||
```js {2}
|
||||
export default function TaskList() {
|
||||
|
||||
Reference in New Issue
Block a user