mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 00:29:22 +09:00
Add null checking (#14089)
This commit is contained in:
parent
0e512d4ff6
commit
4096dabe1e
@ -121,6 +121,8 @@ async function onClick() {
|
||||
});
|
||||
hasPendingFollowRequestFromYou.value = true;
|
||||
|
||||
if ($i == null) return;
|
||||
|
||||
claimAchievement('following1');
|
||||
|
||||
if ($i.followingCount >= 10) {
|
||||
|
Loading…
Reference in New Issue
Block a user