diff --git a/app/(event)/event/[id]/page.tsx b/app/(event)/event/[id]/page.tsx deleted file mode 100644 index 293e4ef..0000000 --- a/app/(event)/event/[id]/page.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import EventLeaderboard from '@/ui/events/Leaderboard'; -import { cookies } from 'next/headers'; -import { notFound } from 'next/navigation'; - -export const metadata = { - title: 'Tableau des scores - Peer-at Code', - description: 'Suivez la progression des élèves en direct' -}; - -export default async function Page({ params }: { params: { id: number } }) { - const { id } = params; - - if (!id) { - notFound(); - } - - const token = cookies().get('token')?.value; - - return ; -}