Skip to content

Commit

Permalink
corrected bracket formating (code100x#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
rakshit0960 authored Aug 27, 2024
1 parent 3d2da33 commit fb79dba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/navitem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ export const NavItem = ({
if (!session.data?.user && isPrivate) {
return;
}
if (session && roleRequired && session.data?.user.role !== roleRequired)
if (session && roleRequired && session.data?.user.role !== roleRequired) {
return;
}

return (
<li>
<Link
Expand Down

0 comments on commit fb79dba

Please sign in to comment.