import { Dialog, DialogTitle, DialogDescription, DialogRoot } from '~/components/ui/Dialog'; import { useAuth } from '~/hooks/useAuth'; interface ProfileDialogProps { isOpen: boolean; onClose: () => void; } export function ProfileDialog({ isOpen, onClose }: ProfileDialogProps) { const { user } = useAuth(); if (!user) return null; return ( 个人信息

{user.nickname}

{user.phone}

{/* 可以根据需要添加更多用户信息 */}
); }