diff --git a/components/status/StatusPreviewCard.vue b/components/status/StatusPreviewCard.vue index 1006e1fc..b1dd1667 100644 --- a/components/status/StatusPreviewCard.vue +++ b/components/status/StatusPreviewCard.vue @@ -8,7 +8,7 @@ const props = defineProps<{ /** When it is root card in the list, not appear as a child card */ root?: boolean /** Defined when the preview card URL matches the last shared link href attribute */ - cleanSharedLink?: string + cleanSharedLink?: string | false }>() const providerName = $computed(() => props.card.providerName ? props.card.providerName : new URL(props.card.url).hostname) diff --git a/components/status/StatusPreviewCardNormal.vue b/components/status/StatusPreviewCardNormal.vue index 96c71113..07dc62ce 100644 --- a/components/status/StatusPreviewCardNormal.vue +++ b/components/status/StatusPreviewCardNormal.vue @@ -8,7 +8,7 @@ const props = defineProps<{ /** When it is root card in the list, not appear as a child card */ root?: boolean /** Defined when the preview card URL matches the last shared link href attribute */ - cleanSharedLink?: string + cleanSharedLink?: string | false }>() // mastodon's default max og image width