From 399c2f29ce9a37499df2e71f6d376851d78effc0 Mon Sep 17 00:00:00 2001 From: abpwrs Date: Tue, 28 Apr 2020 14:07:20 -0500 Subject: [PATCH] FIX: removing extra div tags --- pwa/src/components/PatientSearch.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pwa/src/components/PatientSearch.tsx b/pwa/src/components/PatientSearch.tsx index cbad55a..a1f22f2 100644 --- a/pwa/src/components/PatientSearch.tsx +++ b/pwa/src/components/PatientSearch.tsx @@ -47,7 +47,7 @@ export default function PatientSearch(): ReactElement { } return ( -
+ <> {searchValue ? ( -
+ <> {matches.map((matchElement: Patient, index: number) => ( ) : null} -
+ ) : null} -
+ ) }