Fix lint errors

This commit is contained in:
Brent Vatne
2018-10-17 13:19:31 -07:00
parent 2b588e7616
commit 910df8e428
3 changed files with 5 additions and 15 deletions

View File

@@ -3,7 +3,7 @@ import { Dimensions, Button, View, Text } from 'react-native';
import { withNavigation } from '@react-navigation/core';
import { createStackNavigator } from 'react-navigation-stack';
const Buttons = withNavigation((props) => (
const Buttons = withNavigation(props => (
<React.Fragment>
<Button
title="Go to Details"
@@ -49,7 +49,7 @@ class DetailsScreen extends React.Component {
title: 'Details',
gestureResponseDistance: {
horizontal: Dimensions.get('window').width,
}
},
};
render() {