Skip to content

Commit

Permalink
Remove unnecessary arrow functions at example (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyalesik committed Jun 28, 2020
1 parent 943c01d commit bce0da3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ const App = () => {
return (
<SafeAreaView style={{ flex: 1 }}>
<View style={styles.container}>
<TouchableOpacity onPress={() => copyToClipboard()}>
<TouchableOpacity onPress={copyToClipboard}>
<Text>Click here to copy to Clipboard</Text>
</TouchableOpacity>
<TouchableOpacity onPress={() => fetchCopiedText()}>
<TouchableOpacity onPress={fetchCopiedText}>
<Text>View copied text</Text>
</TouchableOpacity>

Expand Down

0 comments on commit bce0da3

Please sign in to comment.