Skip to content

Commit

Permalink
fix: Remove style prop from touchable (#550)
Browse files Browse the repository at this point in the history
  • Loading branch information
gawrysiak authored and ferrannp committed Sep 20, 2018
1 parent 81b0177 commit f145b98
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/components/Card/Card.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ class Card extends React.Component<Props, State> {
onPress={onPress}
onPressIn={onPress ? this._handlePressIn : undefined}
onPressOut={onPress ? this._handlePressOut : undefined}
style={styles.container}
>
<View style={styles.innerContainer}>
{React.Children.map(
Expand All @@ -144,9 +143,6 @@ class Card extends React.Component<Props, State> {
}

const styles = StyleSheet.create({
container: {
flex: 1,
},
innerContainer: {
flexGrow: 1,
},
Expand Down

0 comments on commit f145b98

Please sign in to comment.