diff --git a/src/App.js b/src/App.js index d398654..c16c061 100644 --- a/src/App.js +++ b/src/App.js @@ -171,7 +171,7 @@ export function MyForm(props) {

Existing incidents in the database:

- {incidents.map((incident) => ( + {incidents.map((incident, index) => (

Incident ID:

{incident.id}

@@ -183,6 +183,7 @@ export function MyForm(props) {

{incident.context}

What word's did Ray use this time?:

{incident.selectedOptions.join(', ')}

+ {index !== incidents.length - 1 &&
}
))}