diff --git a/front/components/sparkle/AppLayout.tsx b/front/components/sparkle/AppLayout.tsx index 835934a17137..c217139ce959 100644 --- a/front/components/sparkle/AppLayout.tsx +++ b/front/components/sparkle/AppLayout.tsx @@ -43,11 +43,9 @@ const SHOW_INCIDENT_BANNER = false; function ToggleSideBarButton({ isNavigationBarOpened, toggleNavigationBarVisibility, - hideSidebar, }: { isNavigationBarOpened: boolean; toggleNavigationBarVisibility: (isOpened: boolean) => void; - hideSidebar: boolean; }) { const buttonRef = useRef(null); const [direction, setDirection] = useState<"left" | "right">("left"); @@ -60,20 +58,16 @@ function ToggleSideBarButton({ }, [isNavigationBarOpened, toggleNavigationBarVisibility]); return ( - <> - {!hideSidebar && ( -
- -
+
+ > + +
); } @@ -479,7 +473,6 @@ export default function AppLayout({ toggleNavigationBarVisibility={(isVisible) => setNavigationBarOpened(isVisible) } - hideSidebar={hideSidebar} />