import useLocalSettingsStore from "@/store/localSettings"; import { dropdownTriggerer } from "@/lib/client/utils"; import ProfilePhoto from "./ProfilePhoto"; import useAccountStore from "@/store/account"; import Link from "next/link"; import { signOut } from "next-auth/react"; export default function ProfileDropdown() { const { settings, updateSettings } = useLocalSettingsStore(); const { account } = useAccountStore(); const handleToggle = () => { if (settings.theme === "dark") { updateSettings({ theme: "light" }); } else { updateSettings({ theme: "dark" }); } }; return (
); }