feat: implement user profile page and integrate profile fetching logic in AccountPopover and ApplicationLayout components

This commit is contained in:
2025-07-11 14:41:06 +05:00
parent d1fdcc873a
commit a20c939c91
4 changed files with 152 additions and 82 deletions

View File

@ -1,7 +1,7 @@
import { redirect } from "next/navigation";
import { getServerSession } from "next-auth";
import { NuqsAdapter } from 'nuqs/adapters/next/app'
import { getProfile } from "@/actions/payment";
import { getProfile } from "@/actions/user-actions";
import { authOptions } from "@/app/auth";
import { DeviceCartDrawer } from "@/components/device-cart";
import { ModeToggle } from "@/components/theme-toggle";