From a8e239992433add535e238f3511bf8fa1c28b209 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Tue, 9 Aug 2022 15:06:57 +0100 Subject: [PATCH] fix const name --- app/src/frontend/building/edit-history/edit-history-latest.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/frontend/building/edit-history/edit-history-latest.tsx b/app/src/frontend/building/edit-history/edit-history-latest.tsx index b44fbf9e..bd891c12 100644 --- a/app/src/frontend/building/edit-history/edit-history-latest.tsx +++ b/app/src/frontend/building/edit-history/edit-history-latest.tsx @@ -13,7 +13,7 @@ interface EditHistoryLatestProps { building: Building; } -const EditHistory: React.FunctionComponent = (props) => { +const EditHistoryLatest: React.FunctionComponent = (props) => { const [history, setHistory] = useState(undefined); useEffect(() => {