mirror of
https://github.com/Haiti-Distributed-Healthcare-System/hdhs.git
synced 2026-10-26 17:35:23 +00:00
FIX: removing extra div tags
This commit is contained in:
1 parent
68b08b86b0
commit
399c2f29ce
1 file changed
+4
-4
@@ -47,7 +47,7 @@ export default function PatientSearch(): ReactElement {
|
||||
}
|
||||
|
||||
return (
|
||||
<div>
|
||||
<>
|
||||
<SearchBar
|
||||
data-testid="search-bar"
|
||||
placeholder="Patient Name"
|
||||
@@ -57,7 +57,7 @@ export default function PatientSearch(): ReactElement {
|
||||
/>
|
||||
<WhiteSpace />
|
||||
{searchValue ? (
|
||||
<div>
|
||||
<>
|
||||
<List data-test-id="match-list">
|
||||
{matches.map((matchElement: Patient, index: number) => (
|
||||
<List.Item
|
||||
@@ -77,8 +77,8 @@ export default function PatientSearch(): ReactElement {
|
||||
</List.Item>
|
||||
) : null}
|
||||
</List>
|
||||
</div>
|
||||
</>
|
||||
) : null}
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user