removed unused part

This commit is contained in:
Johannes Kirschbauer
2023-11-17 16:21:42 +01:00
parent 46297b1888
commit a6cde2f937

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