diff --git a/app/account/account-details.tsx b/app/account/account-details.tsx index cf65c29..1754ab3 100644 --- a/app/account/account-details.tsx +++ b/app/account/account-details.tsx @@ -1,6 +1,12 @@ "use client"; +import { useState } from "react"; import { Button } from "@/components/ui/button"; +import { + Dialog, + DialogContent, + DialogTitle, +} from "@/components/ui/dialog"; import { useCurrentUser } from "@/hooks/useCurrentUser"; import { ExternalLink, User2 } from "lucide-react"; import Image from "next/image"; @@ -29,6 +35,8 @@ function AccountSettingsSection({ pictureUrl: string | null; idpBaseUrl?: string; }) { + const [avatarOpen, setAvatarOpen] = useState(false); + function getAccountSettingsUrl() { if (idpBaseUrl) { const normalizedBaseUrl = idpBaseUrl.replace(/\/+$/, ""); @@ -42,13 +50,33 @@ function AccountSettingsSection({