diff --git a/react-frontend/src/components/IncidentUpdate.jsx b/react-frontend/src/components/IncidentUpdate.jsx index 3bde6602..6ab3e150 100644 --- a/react-frontend/src/components/IncidentUpdate.jsx +++ b/react-frontend/src/components/IncidentUpdate.jsx @@ -18,7 +18,7 @@ const IncidentUpdate = ({ update, admin }) => { return (
- +
diff --git a/react-frontend/src/components/IncidentsBlock.jsx b/react-frontend/src/components/IncidentsBlock.jsx index be276505..1a300332 100644 --- a/react-frontend/src/components/IncidentsBlock.jsx +++ b/react-frontend/src/components/IncidentsBlock.jsx @@ -35,7 +35,7 @@ const IncidentsBlock = ({ service, group }) => { incidents?.map((incident) => { const { id, title, description, updates, updated_at } = incident; const latestUpdate = - updates?.length > 0 && updates[updates.length - 1]; + updates?.length > 0 && updates[0]; const updatedAt = latestUpdate ? latestUpdate.updated_at : updated_at;