Fix small bug
This commit is contained in:
@@ -326,8 +326,10 @@ function useProfileFollowMutation(
|
|||||||
didBecomeMutual: profile.viewer
|
didBecomeMutual: profile.viewer
|
||||||
? Boolean(profile.viewer.followedBy)
|
? Boolean(profile.viewer.followedBy)
|
||||||
: undefined,
|
: undefined,
|
||||||
// @ts-expect-error — this is optional
|
followeeClout:
|
||||||
followeeClout: toClout(profile?.followersCount),
|
'followersCount' in profile
|
||||||
|
? toClout(profile.followersCount)
|
||||||
|
: undefined,
|
||||||
followerClout: toClout(ownProfile?.followersCount),
|
followerClout: toClout(ownProfile?.followersCount),
|
||||||
})
|
})
|
||||||
return await agent.follow(did)
|
return await agent.follow(did)
|
||||||
|
|||||||
Reference in New Issue
Block a user