import { Avatar, Menu, Portal, Box } from "@chakra-ui/react"; import { NavLink } from "react-router-dom"; import useAuthStore from "../../store/authStore"; export default function UserAvatarMenu({ name, avatar }) { const { logout } = useAuthStore(); return (