Skip to content

Commit 3be6657

Browse files
author
Matthieu Napoli
committed
Fix coding style
1 parent b7d4598 commit 3be6657

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

App/Containers/HomeScreen.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class HomeScreen extends React.Component {
2424
The weather temperature is: {this.props.temperature}
2525
</Text>
2626
<Text style={styles.instructions}>{this.props.errorMessage}</Text>
27-
<Button onPress={this.props.fetchTemperature} title="Refresh"/>
27+
<Button onPress={this.props.fetchTemperature} title="Refresh" />
2828
</View>
2929
)
3030
}

App/Service/WeatherService.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ function fetchTemperature() {
1313
// Simulate an error 50% of the time just for testing purposes
1414
if (Math.random() > 0.5) {
1515
return new Promise(function(resolve, reject) {
16-
resolve(null);
17-
});
16+
resolve(null)
17+
})
1818
}
1919

2020
const locationQuery = escape(

0 commit comments

Comments
 (0)