Oops
This commit is contained in:
parent
b29089e9d8
commit
2671e7377c
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ const Navbar: React.FC<NavbarProps> = ({ title }) => {
|
|||
Profile
|
||||
</Link>
|
||||
</li>
|
||||
{sessionData.user.role === "ADMIN" && (
|
||||
{sessionData.user.isAdmin && (
|
||||
<li>
|
||||
<Link
|
||||
about="Admin Page"
|
||||
|
|
Loading…
Add table
Reference in a new issue