lint: fix null check style

This commit is contained in:
yukineko 2024-01-04 20:03:05 +09:00
parent 1a464eb0af
commit 61f63f368d
No known key found for this signature in database
GPG Key ID: E5BACB72109B7B90
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ const bound = computed(() => props.link
: {});
const url = computed(() => {
if (!props.user.avatarUrl) return null;
if (props.user.avatarUrl == null) return null;
if (defaultStore.state.disableShowingAnimatedImages || defaultStore.state.dataSaver.avatar) return getStaticImageUrl(props.user.avatarUrl);
return props.user.avatarUrl;
});