import { UserProfileCard } from "@/components/account/UserProfileCard"; import { ChangePasswordForm } from "@/components/account/ChangePasswordForm"; import { UserService } from "@/lib/services/user.service"; import { redirect } from "next/navigation"; import logger from "@/lib/logger"; export const dynamic = "force-dynamic"; export default async function AccountPage() { try { const [profile, stats] = await Promise.all([ UserService.getUserProfile(), UserService.getUserStats(), ]); return (
Gérez vos informations personnelles et votre sécurité