feat(page): deprecate /playground and redirect to /problemset

This commit is contained in:
cfngc4594 2025-03-09 18:21:27 +08:00
parent 0dbed9c284
commit 849c8bc609
2 changed files with 8 additions and 2 deletions

View File

@ -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;
} }

View File

@ -0,0 +1,5 @@
import { redirect } from "next/navigation";
export default function PlaygroundPage() {
redirect("/problemset");
}