From 953ac314c8cd06a17457fa6b0740e41fc9b2727a Mon Sep 17 00:00:00 2001 From: Parikshit <72187548+Parikshit2001@users.noreply.github.com> Date: Sat, 14 Sep 2024 22:59:01 +0530 Subject: [PATCH] Fix Menu bar UI --- src/components/Appbar.tsx | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/src/components/Appbar.tsx b/src/components/Appbar.tsx index 1d9bdf63f..693418325 100644 --- a/src/components/Appbar.tsx +++ b/src/components/Appbar.tsx @@ -69,20 +69,22 @@ export const Appbar = () => { className="fixed left-0 top-0 z-[999] hidden h-full flex-col border-r border-primary/10 bg-background dark:bg-background 2xl:flex" >
-
- {!isCollapsed && ( - <> +
+
+ + {isCollapsed ? : } + +
+
+ {!isCollapsed && (

Menu

- - )} - - {isCollapsed ? : } - + )} +