diff --git a/src/app/playground/layout/editor-panel.tsx b/src/app/playground/layout/editor-panel.tsx index 063d9cc..17fccfd 100644 --- a/src/app/playground/layout/editor-panel.tsx +++ b/src/app/playground/layout/editor-panel.tsx @@ -1,12 +1,10 @@ "use client"; -import { useEffect, useState } from "react"; +import { useEffect } from "react"; import { useEditorStore } from "@/store/useEditorStore"; -import { Skeleton } from "@/components/ui/skeleton"; export default function EditorPanel() { const { setLanguage, setCode } = useEditorStore(); - const [loading, setLoading] = useState(true); useEffect(() => { const handleMessage = (event: MessageEvent) => { @@ -25,34 +23,5 @@ export default function EditorPanel() { }; }, [setLanguage, setCode]); - const handleLoad = () => { - setLoading(false); - }; - - return ( -