diff --git a/src/app/(app)/problems/[id]/layout.tsx b/src/app/(app)/problems/[id]/layout.tsx index 0e22364..9b39207 100644 --- a/src/app/(app)/problems/[id]/layout.tsx +++ b/src/app/(app)/problems/[id]/layout.tsx @@ -1,17 +1,17 @@ import { WorkspaceHeader } from "@/components/workspace-header"; import { ResizableHandle, ResizablePanel, ResizablePanelGroup } from "@/components/ui/resizable"; -interface WorkspaceLayoutProps { +interface PlaygroundLayoutProps { problem: React.ReactNode; - editor: React.ReactNode; + workspace: React.ReactNode; terminal: React.ReactNode; } -export default function WorkspaceLayout({ +export default function PlaygroundLayout({ problem, - editor, + workspace, terminal, -}: WorkspaceLayoutProps) { +}: PlaygroundLayoutProps) { return (
@@ -24,7 +24,7 @@ export default function WorkspaceLayout({ - {editor} + {workspace}