From 06ce89a03ab5f98623659fef4ab4086788129926 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Sat, 24 Jun 2023 18:12:11 +0530 Subject: [PATCH] fix: sidebar toggle button on workspace dashboard (#1389) --- apps/app/layouts/app-layout/app-header.tsx | 9 +++++++-- .../auth-layout/project-authorization-wrapper.tsx | 15 +++++++-------- .../workspace-authorization-wrapper.tsx | 15 +++++++-------- 3 files changed, 21 insertions(+), 18 deletions(-) diff --git a/apps/app/layouts/app-layout/app-header.tsx b/apps/app/layouts/app-layout/app-header.tsx index 95f998dec..1f99e044e 100644 --- a/apps/app/layouts/app-layout/app-header.tsx +++ b/apps/app/layouts/app-layout/app-header.tsx @@ -6,10 +6,15 @@ type Props = { left?: JSX.Element; right?: JSX.Element; setToggleSidebar: React.Dispatch>; + noHeader: boolean; }; -const Header: React.FC = ({ breadcrumbs, left, right, setToggleSidebar }) => ( -
+const Header: React.FC = ({ breadcrumbs, left, right, setToggleSidebar, noHeader }) => ( +