Revert "fix"

This reverts commit 66ecd2b619.
This commit is contained in:
Ed Chalstrey 2022-05-19 10:40:12 +01:00
parent 66ecd2b619
commit 07aeaf5cbd

View File

@ -29,9 +29,7 @@ const AgeView: React.FunctionComponent<CategoryViewProps> = (props) => {
mode={props.mode} mode={props.mode}
copy={props.copy} copy={props.copy}
onChange={props.onChange} onChange={props.onChange}
/>
<Verification
slug="date_year"
allow_verify={props.user !== undefined && props.building.date_year !== null && !props.edited} allow_verify={props.user !== undefined && props.building.date_year !== null && !props.edited}
onVerify={props.onVerify} onVerify={props.onVerify}
user_verified={props.user_verified.hasOwnProperty("date_year")} user_verified={props.user_verified.hasOwnProperty("date_year")}
@ -106,9 +104,7 @@ const AgeView: React.FunctionComponent<CategoryViewProps> = (props) => {
mode={props.mode} mode={props.mode}
copy={props.copy} copy={props.copy}
onChange={props.onChange} onChange={props.onChange}
/>
<Verification
slug="date_year"
allow_verify={props.user !== undefined && props.building.date_year !== null && !props.edited} allow_verify={props.user !== undefined && props.building.date_year !== null && !props.edited}
onVerify={props.onVerify} onVerify={props.onVerify}
user_verified={props.user_verified.hasOwnProperty("date_year")} user_verified={props.user_verified.hasOwnProperty("date_year")}