This commit is contained in:
Ed Chalstrey 2022-08-09 15:15:44 +01:00
parent 9863e99cb6
commit 5643b27637

View File

@ -29,9 +29,7 @@ const EditHistoryLatest: React.FunctionComponent<EditHistoryLatestProps> = (prop
}, [props.building]); // only re-run effect on building prop change
return (
<>
<p key={`${history[0].revision_id}`} className="edit-history-list-element">
<BuildingEditLatest historyEntry={history[0]} />
</p>
</>
);
};