mirror of
https://github.com/makeplane/plane
synced 2025-08-07 19:59:33 +00:00
Update sidebar (#5549)
Removed else statement which was expanding it whenever windowSize changed or webapp was hard refreshed.
This commit is contained in:
@@ -39,7 +39,6 @@ export const AppSidebar: FC<IAppSidebar> = observer(() => {
|
||||
|
||||
useEffect(() => {
|
||||
if (windowSize[0] < 768) !sidebarCollapsed && toggleSidebar();
|
||||
else sidebarCollapsed && toggleSidebar();
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [windowSize]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user