diff --git a/app/src/frontend/building/data-containers/team.tsx b/app/src/frontend/building/data-containers/team.tsx index 19d950f2..16e4fa56 100644 --- a/app/src/frontend/building/data-containers/team.tsx +++ b/app/src/frontend/building/data-containers/team.tsx @@ -13,6 +13,7 @@ import { CategoryViewProps } from './category-view-props'; */ const TeamView: React.FunctionComponent = (props) => { const building = props.building; + const currentYear = new Date().getFullYear(); const currentBuildingConstructionYear = building.date_year || undefined; return (