removed unused part
This commit is contained in:
parent
ee9d7fe6cb
commit
3d7f9fefa8
@ -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 (
|
||||
<>
|
||||
|
Loading…
Reference in New Issue
Block a user