Skip to content

Commit

Permalink
refactor:removed users and added verify in admin nav
Browse files Browse the repository at this point in the history
  • Loading branch information
joywin2003 committed Dec 1, 2024
1 parent e8a6150 commit baaed92
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/components/admin/Navbar/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,32 +44,32 @@ const Sidebar = () => {
href="/admin"
/>
)}
{session?.user?.role === "ADMIN" && (
<Option
Icon={FiUser}
title="Users"
selected={selected}
setSelected={setSelected}
open={open}
href="/admin/users"
/>
)}
<Option
Icon={FiUser}
title="Users"
Icon={MdPayment}
title="Payments"
selected={selected}
setSelected={setSelected}
open={open}
href="/admin/users"
href="/admin/payment"
/>
<Option
Icon={MdPayment}
title="Payments"
Icon={SiTicktick}
title="Verify"
selected={selected}
setSelected={setSelected}
open={open}
href="/admin/payment"
href="/admin/verify"
/>
{session?.user?.role === "ADMIN" && (
<Option
Icon={SiTicktick}
title="Verify"
selected={selected}
setSelected={setSelected}
open={open}
href="/admin/verify"
/>
)}
{session?.user?.role === "ADMIN" && (
<Option
Icon={SiRazorpay}
Expand Down

0 comments on commit baaed92

Please sign in to comment.