We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e22544e commit b5e87c2Copy full SHA for b5e87c2
src/content/reference/react/useContext.md
@@ -826,7 +826,7 @@ const initialTasks = [
826
```
827
828
```js src/AddTask.js
829
-import { useState, useContext } from 'react';
+import { useState } from 'react';
830
import { useTasksDispatch } from './TasksContext.js';
831
832
export default function AddTask() {
@@ -855,7 +855,7 @@ let nextId = 3;
855
856
857
```js src/TaskList.js
858
859
import { useTasks, useTasksDispatch } from './TasksContext.js';
860
861
export default function TaskList() {
0 commit comments