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 { ChangePasswordForm } from "@/components/account/ChangePasswordForm";
import { UserService } from "@/lib/services/user.service";
import { redirect } from "next/navigation";
export const dynamic = 'force-dynamic';
export default async function AccountPage() {
try {
const [profile, stats] = await Promise.all([