From 23218f66c515e46209af19412cb1991f8a27f0db Mon Sep 17 00:00:00 2001 From: kaushalyap <24698778+kaushalyap@users.noreply.github.com> Date: Fri, 23 Sep 2022 19:17:34 +0530 Subject: [PATCH] removed unused useState (#5095) --- beta/src/content/learn/synchronizing-with-effects.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beta/src/content/learn/synchronizing-with-effects.md b/beta/src/content/learn/synchronizing-with-effects.md index 9177d735e..c73311805 100644 --- a/beta/src/content/learn/synchronizing-with-effects.md +++ b/beta/src/content/learn/synchronizing-with-effects.md @@ -488,7 +488,7 @@ Let's try running this code: ```js -import { useState, useEffect } from 'react'; +import { useEffect } from 'react'; import { createConnection } from './chat.js'; export default function ChatRoom() {