Permalink
Browse files

Remove fake error

  • Loading branch information...
jeremybarbet committed Jan 12, 2018
1 parent 4d91d34 commit 82cac60b0d1f3d345d8a5836213a98b9e055d787
Showing with 1 addition and 5 deletions.
  1. +1 −5 src/components/Placeholders.js
@@ -12,10 +12,6 @@ class Empty extends PureComponent {
onPress: PropTypes.func,
}
handlePress = () => {
throw new Error('handlePress Error');
}
render() {
const { onPress } = this.props;
@@ -38,7 +34,7 @@ class Empty extends PureComponent {
<TouchableOpacity
activeOpacity={0.85}
style={s.empty__button}
onPress={this.handlePress}
onPress={onPress}
>
<Text style={s.empty__buttonText}>Let’s start</Text>
</TouchableOpacity>

0 comments on commit 82cac60

Please sign in to comment.