From e2448264224717b49f859b61eb2d0007f95431cc Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Mon, 6 Jun 2022 09:53:47 +0100 Subject: [PATCH] fix last commit dont use "this" --- app/src/frontend/building/data-containers/team.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/frontend/building/data-containers/team.tsx b/app/src/frontend/building/data-containers/team.tsx index 276184ab..e1994aeb 100644 --- a/app/src/frontend/building/data-containers/team.tsx +++ b/app/src/frontend/building/data-containers/team.tsx @@ -20,7 +20,7 @@ const TeamView: React.FunctionComponent = (props) => { const currentBuildingConstructionYear = building.date_year || undefined; return (
- {this.props.building.is_extension == "The main building" ? ( + {props.building.is_extension == "The main building" ? (