diff --git a/src/components/layout/sidebar-user.tsx b/src/components/layout/sidebar-user.tsx index 8fd6a08..d33a658 100644 --- a/src/components/layout/sidebar-user.tsx +++ b/src/components/layout/sidebar-user.tsx @@ -12,7 +12,6 @@ import {useUser} from '@/contexts'; import {cn} from '@/lib/utils'; import {UserPlus, Bell} from 'lucide-react'; import {useNavigate} from 'react-router-dom'; -import {NotificationDrawer} from '@/components/notify/NotificationDrawer'; const btnClass = 'flex w-full h-9 justify-start items-center rounded-md font-medium hover:bg-muted cursor-pointer bg-transparent border-0 text-left text-sm'; @@ -39,9 +38,12 @@ export function SidebarUser({collapsed}: { collapsed: boolean }) { Notify ) : ( -
- -
+ )} {user && ( @@ -85,12 +87,24 @@ export function SidebarUser({collapsed}: { collapsed: boolean }) { <> { navigate(`/user/${user.username}`); - }}/> + }}> + + Profile + + { navigate('/settings'); - }}/> + }}> + + Settings + + - logout()}/> + logout()}> + + Log out + + )}