import Link from 'next/link' import { Icons, BoxLink, Logout, Orders, Person } from 'components' import { useUserInfo } from 'hooks' function ProfileAside() { const { userInfo, isLoading } = useUserInfo() const profilePaths = [ { name: '我的订单', Icon: Icons.Bag, path: '/profile/orders', }, { name: '我的收藏', Icon: Icons.Heart, path: '/profile/lists', }, { name: '我的评价', Icon: Icons.Comment, path: '/profile/reviews', }, { name: '地址管理', Icon: Icons.Location, path: '/profile/addresses', }, { name: '最近访问', Icon: Icons.Clock, path: '/profile/user-history', }, { name: '账户信息', Icon: Icons.User, path: '/profile/personal-info', }, ] //? Render(s) return ( ) } export default ProfileAside