addd currentYear var
This commit is contained in:
parent
1adfc5f106
commit
1dbd4f2964
@ -13,6 +13,7 @@ import { CategoryViewProps } from './category-view-props';
|
||||
*/
|
||||
const TeamView: React.FunctionComponent<CategoryViewProps> = (props) => {
|
||||
const building = props.building;
|
||||
const currentYear = new Date().getFullYear();
|
||||
const currentBuildingConstructionYear = building.date_year || undefined;
|
||||
return (
|
||||
<Fragment>
|
||||
|
Loading…
Reference in New Issue
Block a user