feat: add dynamic rendering support to AccountPage, AdminPage, DownloadsPage, and SettingsPage components

This commit is contained in:
Julien Froidefond
2025-10-17 10:21:42 +02:00
parent 77742bbec2
commit 42738412a8
4 changed files with 8 additions and 0 deletions

View File

@@ -3,6 +3,8 @@ import { redirect } from "next/navigation";
import { isAdmin } from "@/lib/auth-utils";
import { AdminContent } from "@/components/admin/AdminContent";
export const dynamic = 'force-dynamic';
export default async function AdminPage() {
try {
const hasAdminAccess = await isAdmin();