diff --git a/src/app/[lang]/(protected)/profile/page.tsx b/src/app/[lang]/(protected)/profile/page.tsx index de13481d..a01ee3dc 100644 --- a/src/app/[lang]/(protected)/profile/page.tsx +++ b/src/app/[lang]/(protected)/profile/page.tsx @@ -2,11 +2,12 @@ import { getServerSession } from "next-auth" import DeleteAccountButton from "@/components/auth/delete-account-button" import SignoutButton from "@/components/auth/sign-out-button" import VerifyEmailButton from "@/components/auth/verify-email-button" -import { Card, CardContent, CardFooter, CardHeader, CardTitle } from "@/components/ui/card" +import ProfileDetails from "@/components/profile/profile-details" +import UserActiveSessions from "@/components/profile/sessions/user-active-sessions" +import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card" import { nextAuthOptions } from "@/lib/auth" import { getDictionary } from "@/lib/langs" import { Locale } from "i18n-config" -import SeeDetailsToggle from "./see-details-toggle" export default async function Profile({ params: { lang }, @@ -30,16 +31,15 @@ export default async function Profile({
{JSON.stringify(session, null, 2)}- -