added frontend + securing beta server invites
This commit is contained in:
8
web/app/dashboard/[guildId]/page.tsx
Normal file
8
web/app/dashboard/[guildId]/page.tsx
Normal file
@@ -0,0 +1,8 @@
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
export default async function ServerDashboard({ params }: { params: Promise<{ guildId: string }> }) {
|
||||
const { guildId } = await params;
|
||||
|
||||
// Redirect to leaderboard by default
|
||||
redirect(`/dashboard/${guildId}/leaderboard`);
|
||||
}
|
||||
Reference in New Issue
Block a user