diff --git a/src/app/run/components/RunTimer.tsx b/src/app/run/components/RunTimer.tsx index 14fd33b..693256f 100644 --- a/src/app/run/components/RunTimer.tsx +++ b/src/app/run/components/RunTimer.tsx @@ -18,9 +18,9 @@ export default function RunTimer({ runInfo }: { runInfo: LiveRun }) { }, [runInfo.start]); return ( - +
- +

{time}

diff --git a/src/app/run/page.tsx b/src/app/run/page.tsx index 3ab4740..4b150d8 100644 --- a/src/app/run/page.tsx +++ b/src/app/run/page.tsx @@ -8,6 +8,7 @@ import { File } from "lucide-react"; import Editor from "./components/Editor"; import useAction from "@/hook/use-action"; import { getLiveRun } from "@/modules/live-run/actions"; +import ProblemCard from "../problems/components/ProblemCard"; export default function Run() { const [runInfo] = useAction(getLiveRun); @@ -20,43 +21,57 @@ export default function Run() { return (
- {/* Editor */} - - - {/* File tree */} -
- +
+
+
+
- {/* Code */} -
-
- myfile.js -
-
- -
+
+
- - + +
+ {runInfo && } +
+
+ + {/* Editor */} + + + {/* File tree */} +
+ +
+ + {/* Code */} +
+
+ myfile.js +
+
+ +
+
+
+
+
{/* Timer & Chat */} -
- {runInfo && } - {/* {runInfo && } */} +