add props.building to EditHistory

This commit is contained in:
Ed Chalstrey 2022-08-09 14:54:27 +01:00
parent eb41f9cfb3
commit 3270804b1b

View File

@ -23,7 +23,9 @@ const AgeView: React.FunctionComponent<CategoryViewProps> = (props) => {
){
return (
<Fragment>
<EditHistory/>
<EditHistory
building={props.building}
/>
<YearDataEntry
year={props.building.date_year}
upper={props.building.date_upper}
@ -95,7 +97,9 @@ const AgeView: React.FunctionComponent<CategoryViewProps> = (props) => {
};
return (
<Fragment>
<EditHistory/>
<EditHistory
building={props.building}
/>
<YearDataEntry
year={props.building.date_year}
upper={props.building.date_upper}