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 (