diff --git a/src/components/studyroom/LiveCodeRunner.tsx b/src/components/studyroom/LiveCodeRunner.tsx index bf10de9c..273d4ac9 100644 --- a/src/components/studyroom/LiveCodeRunner.tsx +++ b/src/components/studyroom/LiveCodeRunner.tsx @@ -3,6 +3,7 @@ import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogTrigger } from import { Play, Code, Share, Loader2 } from "lucide-react"; import { toast } from "sonner"; import { env } from "@/env"; +import { Editor } from "@monaco-editor/react"; // PISTON_API_URL delegates code execution to a secure, containerized third-party execution engine (Piston). // This mitigates Issue #1846 by completely removing the execution context from our backend server, @@ -150,13 +151,21 @@ export function LiveCodeRunner({ onShare }: LiveCodeRunnerProps) {