bugsnag: follows check

This commit is contained in:
feruz 2021-08-07 13:03:12 +03:00
parent 99ca9606b5
commit 97aeb410a2

View File

@ -128,8 +128,8 @@ class ProfileView extends PureComponent {
<ProfileSummary
date={getFormatedCreatedDate(get(selectedUser, 'created'))}
about={about}
followerCount={follows.follower_count}
followingCount={follows.following_count}
followerCount={follows ? follows.follower_count : 0}
followingCount={follows ? follows.following_count : 0}
handleFollowUnfollowUser={handleFollowUnfollowUser}
handleMuteUnmuteUser={handleMuteUnmuteUser}
handleOnFavoritePress={handleOnFavoritePress}