Add null checking (#14089)
This commit is contained in:
@@ -121,6 +121,8 @@ async function onClick() {
|
|||||||
});
|
});
|
||||||
hasPendingFollowRequestFromYou.value = true;
|
hasPendingFollowRequestFromYou.value = true;
|
||||||
|
|
||||||
|
if ($i == null) return;
|
||||||
|
|
||||||
claimAchievement('following1');
|
claimAchievement('following1');
|
||||||
|
|
||||||
if ($i.followingCount >= 10) {
|
if ($i.followingCount >= 10) {
|
||||||
|
Reference in New Issue
Block a user