Skip to content

Commit

Permalink
fix(repository): Fix the wrong watch count (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
chinesedfan authored and Houssein Djirdeh committed Sep 11, 2017
1 parent 5c1cc6a commit 727338f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/repository-profile.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ export const RepositoryProfile = ({

<View style={styles.unit}>
<Text style={styles.unitNumber}>
{!isNaN(parseInt(repository.watchers_count, 10))
? abbreviateNumber(repository.watchers_count)
{!isNaN(parseInt(repository.subscribers_count, 10))
? abbreviateNumber(repository.subscribers_count)
: ' '}
</Text>
<Text style={styles.unitText}>
Expand Down

0 comments on commit 727338f

Please sign in to comment.