This commit is contained in:
Atridad Lahiji 2023-07-29 21:46:08 -06:00
parent 95c9314d03
commit 8e2df843dd
No known key found for this signature in database
GPG key ID: 7CB8245F56BC3880

View file

@ -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"