Skip to content

Commit

Permalink
Redirect to user-rec stats page in admin page
Browse files Browse the repository at this point in the history
  • Loading branch information
swh00tw committed Mar 4, 2024
1 parent eb25320 commit 87a6220
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion apps/recnet/src/app/admin/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
import { cn } from "@/utils/cn";
import { redirect } from "next/navigation";

// Leave this page here, redirect to user-rec stats for now
// We would want to build admin main page in the future
export default function AdminPage() {
redirect("/admin/stats/user-rec");

return (
<div className={cn("w-full", "flex", "justify-center")}>Admin Page</div>
<div className={cn("w-full", "flex", "justify-center")}>
To be implemented
</div>
);
}

0 comments on commit 87a6220

Please sign in to comment.