import { ChevronRight } from "lucide-react"; import { useAuthStore } from "../../stores/authStore"; import { useNavigate } from "react-router-dom"; export const Profile = () => { const user = useAuthStore((state) => state.user); const navigate = useNavigate(); const handleLogout = () => { useAuthStore.getState().logout(); navigate("/login"); }; return (

Profile

{user?.name}

{user?.email}

ACCOUNT
LEGAL
SUPPORT
); };