// app/pending/components/user-profile-badge.tsx "use client" import { Avatar, AvatarImage, AvatarFallback } from "@/components/ui/avatar" import { Button } from "@/components/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, } from "@/components/ui/dropdown-menu" import { Clock, LogOut } from "lucide-react" import { signOut } from "next-auth/react" interface UserProfileBadgeProps { user?: { name?: string | null email?: string | null image?: string | null } | null } export function UserProfileBadge({ user }: UserProfileBadgeProps) { if (!user) return null const initials = user.name ?.split(" ") .map((word) => word[0]?.toUpperCase()) .join("") return ( 계정 정보 승인 대기 중 signOut()}> 로그아웃 ) }