fix: wrong type

This commit is contained in:
Ayo 2023-01-29 00:55:14 +01:00
parent ed06ad8074
commit c36b900cdd
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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