remove <form>

This commit is contained in:
Ed Chalstrey 2022-06-06 10:41:31 +01:00
parent d639006da4
commit 7d0889cc4b

View File

@ -19,7 +19,6 @@ const TeamView: React.FunctionComponent<CategoryViewProps> = (props) => {
const currentYear = new Date().getFullYear();
const currentBuildingConstructionYear = building.date_year || undefined;
return (
<form>
<InfoBox msg="Can you help us capture information on who built the current building?"></InfoBox>
<SelectDataEntry
title={dataFields.is_extension.title}
@ -132,7 +131,6 @@ const TeamView: React.FunctionComponent<CategoryViewProps> = (props) => {
onChange={props.onChange}
mode={props.mode}
/>
</form>
);
};
const TeamContainer = withCopyEdit(TeamView);