From 26e9462dacc36803a2c4b6fa14dc6fd5ea9efb42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi?= Date: Sun, 5 Jan 2025 01:11:52 +0100 Subject: [PATCH] refactor: remove unused session retrieval in AdminPage component --- src/app/admin/page.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/app/admin/page.tsx b/src/app/admin/page.tsx index 2323c42..285fd02 100644 --- a/src/app/admin/page.tsx +++ b/src/app/admin/page.tsx @@ -1,14 +1,10 @@ import { Metadata } from "next"; import { AdminHeader } from "../components/Header/admin"; -import { getServerSession } from "next-auth"; -import { authOptions } from "@/authOptions"; export const metadata: Metadata = { title: "Toogether Admin", }; export default async function AdminPage() { - const session = await getServerSession(authOptions); - return ; }