Updated: App.tsx

Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2020-12-14 16:24:56 +01:00
parent 274d50fac3
commit f7a3ab53c5
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

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