Add null checking (#14089)

This commit is contained in:
woxtu 2024-06-27 21:59:19 +09:00 committed by GitHub
parent 0e512d4ff6
commit 4096dabe1e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -121,6 +121,8 @@ async function onClick() {
});
hasPendingFollowRequestFromYou.value = true;
if ($i == null) return;
claimAchievement('following1');
if ($i.followingCount >= 10) {