diff options
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/[locale]/news/index.astro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/[locale]/news/index.astro b/src/pages/[locale]/news/index.astro index 42a17e2..0c81fd9 100644 --- a/src/pages/[locale]/news/index.astro +++ b/src/pages/[locale]/news/index.astro @@ -29,7 +29,7 @@ export async function getStaticPaths() { <div class="news-index"> { allNewsInLocale.length > 0 ? ( - allNewsInLocale.map((item) => <NewsPreviewLink locale={locale} newsItem={item} />) + allNewsInLocale.map((item) => <NewsPreviewLink newsItem={item} />) ) : ( <p>{t(tPage, { key: 'no-news' })}</p> ) |
