Skip to content

Commit

Permalink
eslint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iRaySpace committed Mar 5, 2019
1 parent 1c8d994 commit e25d897
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions src/stories/components/SummaryModalComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ export default class SummaryModalComponent extends React.Component {
});
}

onClose = () => this.props.onClose()
onRequestClose = () => true
onClose = () => this.props.onClose();
onRequestClose = () => true;

render() {
let mc = new MoneyCurrency(
Expand All @@ -67,9 +67,7 @@ export default class SummaryModalComponent extends React.Component {
<View style={styles.modalViewInner}>
<Container>
<View style={styles.containerViewHeader}>
<Text style={styles.headerText}>
Transaction Summary
</Text>
<Text style={styles.headerText}>Transaction Summary</Text>
</View>
<View style={styles.containerViewContent}>
<Grid>
Expand Down Expand Up @@ -168,10 +166,7 @@ export default class SummaryModalComponent extends React.Component {
</Row>
</Grid>
<View style={styles.buttonOuter}>
<Button
block
onPress={this.onClose}
>
<Button block onPress={this.onClose}>
<Text>Close</Text>
</Button>
</View>
Expand Down Expand Up @@ -229,10 +224,10 @@ const styles = StyleSheet.create({
paddingBottom: 5,
},
gridRowEnd: {
paddingBottom: 10
paddingBottom: 10,
},
buttonOuter: {
marginTop: 5,
marginBottom: 5,
}
},
});

0 comments on commit e25d897

Please sign in to comment.