
@@ -128,7 +128,7 @@ class Building extends Component {
}
/*
FIXME: comparison of building_id and buildingId is needed because the
- child components have a mismatch with buildingId and street_address
+ child components have a mismatch with buildingId and place_name
*/
if (this.props.children && !error && !loading && streetAddress !== undefined &&
parseInt(this.props.buildingId, 10) === this.props.overview.building_id) {
diff --git a/src/containers/Questionnaire/index.js b/src/containers/Questionnaire/index.js
index fa33a2826afb4f07b14ab76a03a5507c84a4c581..bf4aa04e5f798210c55925fcffac3ed986136d06 100644
--- a/src/containers/Questionnaire/index.js
+++ b/src/containers/Questionnaire/index.js
@@ -191,9 +191,7 @@ class Questionnaire extends Component {
if (buildingInfo.data !== undefined && buildingInfo.data !== null &&
submittedAnswers.data !== undefined && submittedAnswers.data !== null &&
building !== undefined) {
- const address = building.street_address.map(addressItem => {
- return `${addressItem}, ${building.borough}`;
- });
+ const address = building.place_name;
const tableHeader = {
fontWeight: 'bold',
diff --git a/src/screens/HomePage/index.js b/src/screens/HomePage/index.js
index 61f156101c42684d0d19d94bb4fe07ff14cb27fb..58cc99b63bb98ca4093668a55bda638d1568a1cf 100644
--- a/src/screens/HomePage/index.js
+++ b/src/screens/HomePage/index.js
@@ -164,7 +164,7 @@ class HomePage extends Component {
{i.bbl}