From 82091c2e3f9d03dd587cf4d187c629d6ccc37161 Mon Sep 17 00:00:00 2001 From: vinu tv Date: Wed, 16 Oct 2024 14:58:01 +0530 Subject: [PATCH] Remove unnecessary shrinked check from class name conditional logic --- src/Components/Common/Sidebar/Sidebar.tsx | 6 ++---- src/Components/Common/Sidebar/SidebarUserCard.tsx | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Components/Common/Sidebar/Sidebar.tsx b/src/Components/Common/Sidebar/Sidebar.tsx index 4072d521f22..d448b78a49e 100644 --- a/src/Components/Common/Sidebar/Sidebar.tsx +++ b/src/Components/Common/Sidebar/Sidebar.tsx @@ -230,14 +230,12 @@ const ToggleShrink = ({ shrinked, toggle }: ToggleShrinkProps) => ( diff --git a/src/Components/Common/Sidebar/SidebarUserCard.tsx b/src/Components/Common/Sidebar/SidebarUserCard.tsx index 6f44393f55d..825507ffb25 100644 --- a/src/Components/Common/Sidebar/SidebarUserCard.tsx +++ b/src/Components/Common/Sidebar/SidebarUserCard.tsx @@ -35,7 +35,7 @@ const SidebarUserCard: React.FC = ({ shrinked }) => { >