From 61cb7a364ffac04521c4d372cf01f06a1a37a27f Mon Sep 17 00:00:00 2001 From: Hawken Rives Date: Sat, 5 May 2018 17:57:21 -0500 Subject: [PATCH] prettify --- source/views/map-carls/info.js | 4 +++- source/views/map-carls/report/editor.js | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/source/views/map-carls/info.js b/source/views/map-carls/info.js index e534f6428..89762c302 100644 --- a/source/views/map-carls/info.js +++ b/source/views/map-carls/info.js @@ -35,7 +35,9 @@ export class BuildingInfo extends React.Component { } openReportScreen = () => { - this.props.navigation.push('MapReporterView', {building: this.props.feature.properties}) + this.props.navigation.push('MapReporterView', { + building: this.props.feature.properties, + }) } makeBuildingCategory = (building: Building) => { diff --git a/source/views/map-carls/report/editor.js b/source/views/map-carls/report/editor.js index 235fe7c16..10152f390 100644 --- a/source/views/map-carls/report/editor.js +++ b/source/views/map-carls/report/editor.js @@ -27,7 +27,7 @@ export class MapReporterView extends React.PureComponent { static getDerivedStateFromProps(nextProps: Props) { let building = nextProps.navigation.state.params.building - return {name: building.name, } + return {name: building.name} } state = { @@ -58,8 +58,8 @@ export class MapReporterView extends React.PureComponent { There’s a problem with “{name}”, you say? - If you could tell us what the problems are, we’d - greatly appreciate it. + If you could tell us what the problems are, we’d greatly appreciate + it.