From c6a79011e171cdb18d4ea735b310477341c97890 Mon Sep 17 00:00:00 2001 From: Omer Shahar <38870042+Omer-Shahar@users.noreply.github.com> Date: Mon, 29 Aug 2022 13:37:19 +0300 Subject: [PATCH] Update scaling-up-with-reducer-and-context.md (#4945) --- beta/src/pages/learn/scaling-up-with-reducer-and-context.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beta/src/pages/learn/scaling-up-with-reducer-and-context.md b/beta/src/pages/learn/scaling-up-with-reducer-and-context.md index b68d177f..d6e26e50 100644 --- a/beta/src/pages/learn/scaling-up-with-reducer-and-context.md +++ b/beta/src/pages/learn/scaling-up-with-reducer-and-context.md @@ -1229,7 +1229,7 @@ const initialTasks = [ ``` ```js AddTask.js -import { useState, useContext } from 'react'; +import { useState } from 'react'; import { useTasksDispatch } from './TasksContext.js'; export default function AddTask({ onAddTask }) { @@ -1258,7 +1258,7 @@ let nextId = 3; ``` ```js TaskList.js active -import { useState, useContext } from 'react'; +import { useState } from 'react'; import { useTasks, useTasksDispatch } from './TasksContext.js'; export default function TaskList() {