diff --git a/app/layouts/admin/navbar.tsx b/app/layouts/admin/navbar.tsx index fd58500..7dd77df 100644 --- a/app/layouts/admin/navbar.tsx +++ b/app/layouts/admin/navbar.tsx @@ -3,6 +3,7 @@ import { Link, useFetcher, useRouteLoaderData } from 'react-router' import { ChevronIcon } from '~/components/icons/chevron' import { NotificationIcon } from '~/components/icons/notification' +import { ProfileIcon } from '~/components/icons/profile' import { APP } from '~/configs/meta' import type { loader } from '~/routes/_admin.lg-admin' @@ -27,11 +28,16 @@ export const Navbar = () => {
- {staffData?.name} + {staffData?.profile_picture === '' ? ( + + ) : ( + {staffData?.name} + )} + {staffData?.name}