fix: swap navigation bar items (#3967)

This commit is contained in:
Nishant Choudhary authored and GitHub committed 2023-08-27 15:37:22 +00:00
1 parent 118165bf72
commit 0ff4d9d0b1
1 file changed
+1 -1
@@ -19,6 +19,7 @@ export const SidebarHeader = (props: SidebarHeaderProps) => {
const open = useAtomValue(appSidebarOpenAtom);
return (
<div className={navHeaderStyle} data-open={open}>
{open && <SidebarSwitch />}
{environment.isDesktop && (
<>
{environment.isMacOs && <div style={{ flex: 1 }} />}
@@ -50,7 +51,6 @@ export const SidebarHeader = (props: SidebarHeaderProps) => {
{!environment.isMacOs && <div style={{ flex: 1 }} />}
</>
)}
{open && <SidebarSwitch />}
</div>
);
};