removed unused part

This commit is contained in:
Johannes Kirschbauer 2023-11-17 16:21:42 +01:00
parent ee9d7fe6cb
commit 3d7f9fefa8
Signed by: hsjobeki
SSH Key Fingerprint: SHA256:vX3utDqig7Ph5L0JPv87ZTPb/w7cMzREKVZzzLFg9qU

View File

@ -61,9 +61,7 @@ export default function RootLayout({
<AppContext.Consumer>
{(appState) => {
const showSidebarDerived = Boolean(
showSidebar &&
!appState.isLoading &&
appState.data.isJoined,
showSidebar && !appState.isLoading && appState.data.isJoined
);
return (
<>