From bb94d6f7a9d14862c57916ca1b506580644e86d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zhan=20Efe=20Meral?= Date: Sat, 3 Aug 2024 00:57:15 +0200 Subject: [PATCH] remove log --- apps/next/contexts/BlockEditorContext.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/apps/next/contexts/BlockEditorContext.tsx b/apps/next/contexts/BlockEditorContext.tsx index 5173b92..2bae253 100644 --- a/apps/next/contexts/BlockEditorContext.tsx +++ b/apps/next/contexts/BlockEditorContext.tsx @@ -4,7 +4,6 @@ import { PropsWithChildren, SetStateAction, useContext, - useEffect, useState, } from "react"; import { CodeBlock } from "@ozhanefe/ts-codegenerator"; @@ -22,10 +21,6 @@ const BlockEditorContext = createContext({ export const BlockEditorProvider = ({ children }: PropsWithChildren<{}>) => { const [currentBlock, setCurrentBlock] = useState(null); - useEffect(() => { - console.log("currentBlock:", currentBlock); - }, [currentBlock]); - return (