Merge pull request #233 from reuters-graphics/mf-byline
Quick snippet prop cleanup in Byline
This commit is contained in:
commit
cc6f987f16
1 changed files with 3 additions and 3 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue