diff --git a/app/workspace/[id]/page.tsx b/app/workspace/[id]/page.tsx index f4da392..093a0cc 100644 --- a/app/workspace/[id]/page.tsx +++ b/app/workspace/[id]/page.tsx @@ -7,7 +7,6 @@ import { ResizablePanel, ResizableHandle, } from "@/components/ui/resizable"; -import { Preview } from "@/components/webcontainer/preview"; import Cli from "@/components/workspace/cli"; import Editor from "@/components/workspace/editor"; import FileExplorer from "@/components/workspace/file-explorer"; @@ -21,20 +20,7 @@ export default function Page() { - - - - - - - - - - } - bottom={} - /> + } bottom={} /> ); diff --git a/components/workspace/cli.tsx b/components/workspace/cli.tsx index 3313d0c..a128812 100644 --- a/components/workspace/cli.tsx +++ b/components/workspace/cli.tsx @@ -3,13 +3,6 @@ import { useTheme } from "next-themes"; import { ReactTerminal } from "react-terminal"; import { useCliCommands } from "./use-cli-commands"; -import { Tabs, TabsContent, TabsList, TabsTrigger } from "../ui/tabs"; -import { LoadFiles } from "../webcontainer/load-files"; -import dynamic from "next/dynamic"; - -const NodeTerminal = dynamic(() => import("../webcontainer/node-terminal"), { - ssr: false, -}); export default function Cli() { const commands = useCliCommands(); @@ -18,30 +11,18 @@ export default function Cli() { return (
- - - Default - NodeJS - - - -

Welcome to aelf Playground.

-

Type help to see all commands.

-
- } - /> - - - - - - + +

Welcome to aelf Playground.

+

Type help to see all commands.

+ + } + /> ); }