Created a simple permissions system for users
This commit is contained in:
@@ -190,7 +190,7 @@ export default function Page() {
|
||||
<ToastContainer />
|
||||
{user && (
|
||||
<main className="w-full h-full min-h-[100vh] flex flex-col items-center bg-neutral-100 text-black pb-4 gap-4">
|
||||
<Navbar profilePicture={user.profilePicture} timer={exam ? timer : undefined} />
|
||||
<Navbar userType={user.type} profilePicture={user.profilePicture} timer={exam ? timer : undefined} />
|
||||
{renderScreen()}
|
||||
</main>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user