Updated: App.tsx
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
parent
274d50fac3
commit
f7a3ab53c5
@ -33,12 +33,12 @@ export const App = () => {
|
||||
<Topbar handleTransfer={handleTransfer} />
|
||||
<Transfer isOpen={isOpenTransfer} handleClose={handleTransfer} />
|
||||
<Wrapper>
|
||||
{userPrivilige === 'STUDENT' ? (
|
||||
{userPrivilige === 'STUDENT' && (
|
||||
<>
|
||||
<Scheduler />
|
||||
<Rightbar />
|
||||
</>
|
||||
) : (
|
||||
)} { userPrivilige === 'DEANERY' && (
|
||||
<Admin />
|
||||
)}
|
||||
</Wrapper>
|
||||
|
Loading…
Reference in New Issue
Block a user