import { DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator } from '@/components/ui/dropdown-menu'; import { UserInfo } from '@/components/user-info'; import { useMobileNavigation } from '@/hooks/use-mobile-navigation'; import { type User } from '@/types/user'; import { Link, router } from '@inertiajs/react'; import { LogOut, Settings } from 'lucide-react'; import AppearanceToggleTab from '@/components/appearance-tabs'; interface UserMenuContentProps { user: User; } export function UserMenuContent({ user }: UserMenuContentProps) { const cleanup = useMobileNavigation(); const handleLogout = () => { cleanup(); router.flushAll(); }; return ( <>
Settings Log out ); }