revert: resize in app sidebar (#2193)

This commit is contained in:
Himself65 authored and GitHub committed 2023-04-28 05:41:17 -05:00
1 parent f9b012cac9
commit 73a7c01580
3 files changed
+6 -26

No files matched your search

@@ -75,7 +75,7 @@ export const RootAppSidebar = ({
}, [createPage, openPage]);
const sidebarOpen = useAtomValue(appSidebarOpenAtom);
useEffect(() => {
if (environment.isDesktop && typeof sidebarOpen === 'boolean') {
if (environment.isDesktop) {
window.apis?.onSidebarVisibilityChange(sidebarOpen);
}
}, [sidebarOpen]);