forked from Mirrors/elk
fix: wrong type
This commit is contained in:
parent
ed06ad8074
commit
c36b900cdd
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ const props = defineProps<{
|
||||||
/** When it is root card in the list, not appear as a child card */
|
/** When it is root card in the list, not appear as a child card */
|
||||||
root?: boolean
|
root?: boolean
|
||||||
/** Defined when the preview card URL matches the last shared link href attribute */
|
/** 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)
|
const providerName = $computed(() => props.card.providerName ? props.card.providerName : new URL(props.card.url).hostname)
|
||||||
|
|
|
@ -8,7 +8,7 @@ const props = defineProps<{
|
||||||
/** When it is root card in the list, not appear as a child card */
|
/** When it is root card in the list, not appear as a child card */
|
||||||
root?: boolean
|
root?: boolean
|
||||||
/** Defined when the preview card URL matches the last shared link href attribute */
|
/** 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
|
// mastodon's default max og image width
|
||||||
|
|
Loading…
Reference in a new issue