From 66f46944f0e8d31886be70378bbbecfb7a3a0f9c Mon Sep 17 00:00:00 2001 From: bridgeppp <142827250+bridgeppp@users.noreply.github.com> Date: Thu, 4 Jul 2024 15:23:27 -0500 Subject: [PATCH] Update index.tsx --- videos/long/learn-react-hooks-useEffect/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/videos/long/learn-react-hooks-useEffect/index.tsx b/videos/long/learn-react-hooks-useEffect/index.tsx index 02afb07..365fa9e 100644 --- a/videos/long/learn-react-hooks-useEffect/index.tsx +++ b/videos/long/learn-react-hooks-useEffect/index.tsx @@ -9,7 +9,7 @@ export default function Demo({}: DemoProps) { // The code that we want to run console.log('The count is:', count); - // Optional return function + // Optional return functio return () => { console.log('I am being cleaned up!'); };