diff --git a/src/components/AddressSearchBGroup/index.js b/src/components/AddressSearchBGroup/index.js index 1301adaae53e4788ba856dacd8dc04c7e2ab6b61..97f392bacbee4d9d18e2cd4ef10ec84ea28b3d31 100644 --- a/src/components/AddressSearchBGroup/index.js +++ b/src/components/AddressSearchBGroup/index.js @@ -31,7 +31,7 @@ class AddressSearchBGroup extends Component { if (this.props.buildings !== nextProps.buildings && nextProps.buildings.length > 0) { this.setState({ bGroupBuildings: this.props.bGroupBuildings, - address: nextProps.buildings[0].placeName, + address: nextProps.buildings[0].place_name, }); } if (this.props.buildings.length === 0 && nextProps.buildings.length > 0) { diff --git a/src/containers/BGroup/BGroupBuildingTable.js b/src/containers/BGroup/BGroupBuildingTable.js index c9240a47fba0fa4b3375a07a6fe045be6e53b665..dd3d526dc9bce9015ff6133a13f5a89ab4bf520c 100644 --- a/src/containers/BGroup/BGroupBuildingTable.js +++ b/src/containers/BGroup/BGroupBuildingTable.js @@ -47,7 +47,7 @@ export default class BGroupBuildingTable extends Component { this.props.addBuildingToBGroup( this.props.bGroupId, { building_ids: [building.building_id] }, - building.placeName, + building.place_name, ); this.setState({ increaseNum: true }); }