fix: status preview card npe (#3184)

This commit is contained in:
Shinigami 2025-02-04 15:07:29 +01:00 committed by GitHub
parent cfe81eef82
commit efe0a81787
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -109,7 +109,7 @@ function loadAttachment() {
<StatusPreviewCardInfo :p="isSquare ? 'x-4' : '4'" :root="root" :card="card" :provider="providerName" />
</div>
<StatusPreviewCardMoreFromAuthor
v-if="card?.authors?.[0].account"
v-if="card?.authors?.[0]?.account"
:account="card.authors[0].account"
/>
</NuxtLink>