From c433ce0e270815da98123b7f70136916d0e8a9bf Mon Sep 17 00:00:00 2001 From: Vivian Phung Date: Mon, 24 Jun 2024 18:22:06 -0400 Subject: [PATCH] fix: ProjectSearchBarDialog suppressRefError --- .../projects/ProjectSearchBar/ProjectSearchBar.tsx | 2 +- .../ProjectSearchBar/ProjectSearchBarDialog.tsx | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/packages/frontend/src/components/projects/ProjectSearchBar/ProjectSearchBar.tsx b/packages/frontend/src/components/projects/ProjectSearchBar/ProjectSearchBar.tsx index 0c7e3b5..df3b09b 100644 --- a/packages/frontend/src/components/projects/ProjectSearchBar/ProjectSearchBar.tsx +++ b/packages/frontend/src/components/projects/ProjectSearchBar/ProjectSearchBar.tsx @@ -62,7 +62,7 @@ export const ProjectSearchBar = ({ onChange }: ProjectSearchBarProps) => {
} placeholder="Search" appearance="borderless" @@ -91,7 +91,15 @@ export const ProjectSearchBarDialog = ({
{/* Content */} -
+
{items.length > 0 ? items.map((item, index) => ( <>