Skip to content

Commit

Permalink
prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkrives committed May 5, 2018
1 parent 7d43cd0 commit 61cb7a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion source/views/map-carls/info.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ export class BuildingInfo extends React.Component<Props> {
}

openReportScreen = () => {
this.props.navigation.push('MapReporterView', {building: this.props.feature.properties})
this.props.navigation.push('MapReporterView', {
building: this.props.feature.properties,
})
}

makeBuildingCategory = (building: Building) => {
Expand Down
6 changes: 3 additions & 3 deletions source/views/map-carls/report/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class MapReporterView extends React.PureComponent<Props, State> {

static getDerivedStateFromProps(nextProps: Props) {
let building = nextProps.navigation.state.params.building
return {name: building.name, }
return {name: building.name}
}

state = {
Expand Down Expand Up @@ -58,8 +58,8 @@ export class MapReporterView extends React.PureComponent<Props, State> {
There’s a problem with “{name}”, you say?
</Text>
<Text style={styles.helpDescription}>
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.
</Text>
</View>

Expand Down

0 comments on commit 61cb7a3

Please sign in to comment.