add EditHistory to Age

This commit is contained in:
Ed Chalstrey 2022-08-09 14:49:19 +01:00
parent cee05b5979
commit 292c75238c

View File

@ -8,7 +8,7 @@ import TextboxDataEntry from '../data-components/textbox-data-entry';
import Verification from '../data-components/verification'; import Verification from '../data-components/verification';
import YearDataEntry from '../data-components/year-data-entry'; import YearDataEntry from '../data-components/year-data-entry';
import withCopyEdit from '../data-container'; import withCopyEdit from '../data-container';
import BuildingEditSummaryBrief from '../edit-history/building-edit-summary'; import { EditHistory } from '../../edit-history/edit-history';
import { CategoryViewProps } from './category-view-props'; import { CategoryViewProps } from './category-view-props';
@ -23,7 +23,7 @@ const AgeView: React.FunctionComponent<CategoryViewProps> = (props) => {
){ ){
return ( return (
<Fragment> <Fragment>
<BuildingEditSummaryBrief/> <EditHistory/>
<YearDataEntry <YearDataEntry
year={props.building.date_year} year={props.building.date_year}
upper={props.building.date_upper} upper={props.building.date_upper}
@ -95,7 +95,7 @@ const AgeView: React.FunctionComponent<CategoryViewProps> = (props) => {
}; };
return ( return (
<Fragment> <Fragment>
<BuildingEditSummaryBrief/> <EditHistory/>
<YearDataEntry <YearDataEntry
year={props.building.date_year} year={props.building.date_year}
upper={props.building.date_upper} upper={props.building.date_upper}