mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 07:16:34 +00:00
feat(page): deprecate /playground and redirect to /problemset
This commit is contained in:
parent
0dbed9c284
commit
849c8bc609
@ -1,5 +1,6 @@
|
|||||||
import CodeEditor from "@/components/code-editor";
|
// import CodeEditor from "@/components/code-editor";
|
||||||
|
|
||||||
export default function WorkspaceEditorPage() {
|
export default function WorkspaceEditorPage() {
|
||||||
return <CodeEditor />;
|
// return <CodeEditor />;
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
5
src/app/(app)/playground/page.tsx
Normal file
5
src/app/(app)/playground/page.tsx
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
import { redirect } from "next/navigation";
|
||||||
|
|
||||||
|
export default function PlaygroundPage() {
|
||||||
|
redirect("/problemset");
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user