cleans up snippet props

This commit is contained in:
MinamiFunakoshiTR 2025-03-13 08:40:32 -07:00
parent 2d290d667c
commit 601c9dc60d
Failed to extract signature

View file

@ -65,9 +65,9 @@
const authorSlug = slugify(author.trim(), { lower: true });
return `https://www.reuters.com/authors/${authorSlug}/`;
},
byline = null,
published = null,
updated = null,
byline,
published,
updated,
}: Props = $props();
let alignmentClass = $derived(align === 'left' ? 'text-left' : 'text-center');