From 0ff4d9d0b1e75695373b63be1602d6b9d3b045d0 Mon Sep 17 00:00:00 2001 From: Nishant Choudhary <122564843+blacurrant@users.noreply.github.com> Date: Sun, 27 Aug 2023 21:07:22 +0530 Subject: [PATCH] fix: swap navigation bar items (#3967) --- .../src/components/app-sidebar/sidebar-header/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/component/src/components/app-sidebar/sidebar-header/index.tsx b/packages/component/src/components/app-sidebar/sidebar-header/index.tsx index c28bce2e12..2ade102ddf 100644 --- a/packages/component/src/components/app-sidebar/sidebar-header/index.tsx +++ b/packages/component/src/components/app-sidebar/sidebar-header/index.tsx @@ -19,6 +19,7 @@ export const SidebarHeader = (props: SidebarHeaderProps) => { const open = useAtomValue(appSidebarOpenAtom); return (
+ {open && } {environment.isDesktop && ( <> {environment.isMacOs &&
} @@ -50,7 +51,6 @@ export const SidebarHeader = (props: SidebarHeaderProps) => { {!environment.isMacOs &&
} )} - {open && }
); };