Merge pull request #233 from reuters-graphics/mf-byline

Quick snippet prop cleanup in Byline
This commit is contained in:
MinamiFunakoshiTR 2025-03-13 10:42:13 -05:00 committed by GitHub
commit cc6f987f16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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