From cb922d9dc6d3d51bad0d6af34a9773e9b6a87cf9 Mon Sep 17 00:00:00 2001 From: Jay Johnson Date: Tue, 18 Apr 2023 10:10:12 -0400 Subject: [PATCH] Fix search box disappearing in Sidebar component (#592) Co-authored-by: Jamal Johnson --- components/Sidebar/Sidebar.tsx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/components/Sidebar/Sidebar.tsx b/components/Sidebar/Sidebar.tsx index ddec00e..e8300a6 100644 --- a/components/Sidebar/Sidebar.tsx +++ b/components/Sidebar/Sidebar.tsx @@ -78,13 +78,11 @@ const Sidebar = ({ - {items?.length > 0 && ( - - )} +
{items?.length > 0 && (