feat(renderer): wire PreviewPane into AppShell

This commit is contained in:
2026-06-05 13:15:47 +05:30
parent 0b5af04a6a
commit a4201acad9
+2 -3
View File
@@ -4,6 +4,7 @@ import { Toolbar } from './Toolbar';
import { Breadcrumb } from './Breadcrumb'; import { Breadcrumb } from './Breadcrumb';
import { StatusBar } from './StatusBar'; import { StatusBar } from './StatusBar';
import { EditorPane } from '@/components/editor/EditorPane'; import { EditorPane } from '@/components/editor/EditorPane';
import { PreviewPane } from '@/components/preview/PreviewPane';
import { useAppStore } from '@/stores/app-store'; import { useAppStore } from '@/stores/app-store';
import { ResizablePanelGroup, ResizablePanel, ResizableHandle } from '@/components/ui/resizable'; import { ResizablePanelGroup, ResizablePanel, ResizableHandle } from '@/components/ui/resizable';
@@ -38,9 +39,7 @@ export function AppShell() {
<> <>
<ResizableHandle /> <ResizableHandle />
<ResizablePanel defaultSize={paneSizes.preview} minSize={20}> <ResizablePanel defaultSize={paneSizes.preview} minSize={20}>
<section className="h-full border-l border-border bg-card/10 p-4 text-sm text-muted-foreground"> <PreviewPane />
Preview placeholder
</section>
</ResizablePanel> </ResizablePanel>
</> </>
)} )}