diff --git a/app/src/frontend/building/data-components/planning-data-entry.tsx b/app/src/frontend/building/data-components/planning-data-entry.tsx index 47cecc79..78ed556c 100644 --- a/app/src/frontend/building/data-components/planning-data-entry.tsx +++ b/app/src/frontend/building/data-components/planning-data-entry.tsx @@ -64,12 +64,12 @@ const LinkIfAvailable = (link) => { const StatusInfo = ({status, statusBeforeAliasing}) => { if(status == null) { - return
Current planning application status for this site: {LinkIfAvailable(null)}
+ return <>{LinkIfAvailable(null)} } if(status != statusBeforeAliasing) { - return
Current planning application status for this site: {status} - status in raw data was: {statusBeforeAliasing}
+ return <>{status} - status in raw data was: {statusBeforeAliasing} } - return
Current planning application status for this site: {status}
+ return <>{status} } const PlanningDataOfficialDataEntry: React.FC = (props) => {