Skip to content

Commit

Permalink
eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
iRaySpace committed Apr 26, 2019
1 parent 21342b2 commit 41b6353
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/stories/components/SyncComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,12 @@ class CompanyComponent extends React.PureComponent {
isSyncing,
} = this.props;

const SyncStatus = isSyncing
? <View style={styles.viewSync}>
<Spinner color="#4B4C9D" />
<Text style={styles.helpText}>
Syncing ERPNext data
</Text>
</View>
: null;
const SyncStatus = isSyncing ? (
<View style={styles.viewSync}>
<Spinner color="#4B4C9D" />
<Text style={styles.helpText}>Syncing ERPNext data</Text>
</View>
) : null;

return (
<View>
Expand Down

0 comments on commit 41b6353

Please sign in to comment.