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} />
|
<Topbar handleTransfer={handleTransfer} />
|
||||||
<Transfer isOpen={isOpenTransfer} handleClose={handleTransfer} />
|
<Transfer isOpen={isOpenTransfer} handleClose={handleTransfer} />
|
||||||
<Wrapper>
|
<Wrapper>
|
||||||
{userPrivilige === 'STUDENT' ? (
|
{userPrivilige === 'STUDENT' && (
|
||||||
<>
|
<>
|
||||||
<Scheduler />
|
<Scheduler />
|
||||||
<Rightbar />
|
<Rightbar />
|
||||||
</>
|
</>
|
||||||
) : (
|
)} { userPrivilige === 'DEANERY' && (
|
||||||
<Admin />
|
<Admin />
|
||||||
)}
|
)}
|
||||||
</Wrapper>
|
</Wrapper>
|
||||||
|
Loading…
Reference in New Issue
Block a user