Skip to content

Commit

Permalink
Update Navbar.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
norachams authored May 17, 2024
1 parent 52210c4 commit ac1fe46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export const Navbar = () => {
/>
</div>
<ul className="flex flex-col items-start justify-start divide-y divide-charcoalBlack">
{currentUser && (currentUser.type === "mentor" || currentUser.type === "volunteer") && renderNavItems(true)}
{currentUser && (currentUser.type === "mentor" || currentUser.type === "volunteer" || (currentUser.type === 'hacker' && currentUser.rsvpVerified)) && renderNavItems(true)}

<a
href="https://maps.app.goo.gl/Fxic5XJBzZjHP4Yt5"
Expand Down Expand Up @@ -247,7 +247,7 @@ export const Navbar = () => {

<aside className="flex flex-col items-start justify-between h-[90%]">
<ul className="flex flex-col items-start justify-start gap-4 w-full">
{currentUser && (currentUser.type === "mentor" || currentUser.type === "volunteer") && renderNavItems(true)}
{currentUser && (currentUser.type === "mentor" || currentUser.type === "volunteer" || (currentUser.type === 'hacker' && currentUser.rsvpVerified)) && renderNavItems(true)}
<a
href="https://maps.app.goo.gl/Fxic5XJBzZjHP4Yt5"
target="_blank"
Expand Down

0 comments on commit ac1fe46

Please sign in to comment.