import { useEditorStore } from '@/stores/editorStore'; import CodeEditor from './CodeEditor'; import EditorTabs from './EditorTabs'; export default function MultiFileEditor() { const activeFilePath = useEditorStore((s) => s.activeFilePath); const activeFile = useEditorStore((s) => activeFilePath ? s.openFiles[activeFilePath] : null); return (
{activeFile ? ( ) : (

No file open

Select a file from the explorer to start editing

)}
); }