fix const name

This commit is contained in:
Ed Chalstrey 2022-08-09 15:06:57 +01:00
parent 03d4dab8fb
commit a8e2399924

View File

@ -13,7 +13,7 @@ interface EditHistoryLatestProps {
building: Building;
}
const EditHistory: React.FunctionComponent<EditHistoryLatestProps> = (props) => {
const EditHistoryLatest: React.FunctionComponent<EditHistoryLatestProps> = (props) => {
const [history, setHistory] = useState<EditHistoryEntry[]>(undefined);
useEffect(() => {