Skip to content

Commit

Permalink
remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
ozhanefemeral committed Aug 2, 2024
1 parent 2b55df8 commit bb94d6f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions apps/next/contexts/BlockEditorContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
PropsWithChildren,
SetStateAction,
useContext,
useEffect,
useState,
} from "react";
import { CodeBlock } from "@ozhanefe/ts-codegenerator";
Expand All @@ -22,10 +21,6 @@ const BlockEditorContext = createContext<Context>({
export const BlockEditorProvider = ({ children }: PropsWithChildren<{}>) => {
const [currentBlock, setCurrentBlock] = useState<CodeBlock | null>(null);

useEffect(() => {
console.log("currentBlock:", currentBlock);
}, [currentBlock]);

return (
<BlockEditorContext.Provider
value={{
Expand Down

0 comments on commit bb94d6f

Please sign in to comment.