Skip to content

Commit 9d78eae

Browse files
committed
chore: simplify prop usage based on type definition change on Link component
1 parent 9ae03dd commit 9d78eae

File tree

1 file changed

+1
-1
lines changed
  • apps/site/components/Blog/BlogHeader

1 file changed

+1
-1
lines changed

apps/site/components/Blog/BlogHeader/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const BlogHeader: FC<BlogHeaderProps> = ({ category }) => {
2121
{t('layouts.blog.title')}
2222
<Link
2323
href={`/feed/${currentFile}`}
24-
{...{ locale: 'en' }} // RSS feeds only exist in English
24+
locale="en"
2525
aria-label={t('components.blog.blogHeader.rssLink')}
2626
>
2727
<RssIcon />

0 commit comments

Comments
 (0)