From 9f1cb28eaf96d611564eb26ba3b04ecccb74d3d7 Mon Sep 17 00:00:00 2001 From: Sanjeev Lakhwani Date: Mon, 5 Aug 2024 16:02:49 -0400 Subject: [PATCH] updated modal UI --- src/js/components/ChooseProjectModal.tsx | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/src/js/components/ChooseProjectModal.tsx b/src/js/components/ChooseProjectModal.tsx index 37751a42..9f45c699 100644 --- a/src/js/components/ChooseProjectModal.tsx +++ b/src/js/components/ChooseProjectModal.tsx @@ -13,26 +13,16 @@ const ChooseProjectModal = ({ isModalOpen, setIsModalOpen }: ChooseProjectModalP const closeModal = () => setIsModalOpen(false); return ( - - - - - - - } - > + setSelectedProject(key)} + tabBarExtraContent={ + + + + } items={projects.map(({ identifier, title, datasets, description }) => { return { key: identifier, @@ -42,7 +32,7 @@ const ChooseProjectModal = ({ isModalOpen, setIsModalOpen }: ChooseProjectModalP About {title} - Select Project + Select {description}