Skip to content

Commit efe0a81

Browse files
authored
fix: status preview card npe (#3184)
1 parent cfe81ee commit efe0a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/status/StatusPreviewCardNormal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function loadAttachment() {
109109
<StatusPreviewCardInfo :p="isSquare ? 'x-4' : '4'" :root="root" :card="card" :provider="providerName" />
110110
</div>
111111
<StatusPreviewCardMoreFromAuthor
112-
v-if="card?.authors?.[0].account"
112+
v-if="card?.authors?.[0]?.account"
113113
:account="card.authors[0].account"
114114
/>
115115
</NuxtLink>

0 commit comments

Comments
 (0)