Skip to content

Commit

Permalink
Fix error on home page
Browse files Browse the repository at this point in the history
  • Loading branch information
Isti01 committed Sep 1, 2024
1 parent 75ee9d9 commit 77a9f95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/home/home.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const HomePage = () => {
<>
<Grid mt={10} templateColumns="1fr" gap={4}>
{sortByHighlighted(homeNews.data).map((n: NewsArticleView) => (
<NewsListItem news={n} fontSize="xl" useLink={config?.components.news.showDetails} key={n.title + n.timestamp} />
<NewsListItem news={n} fontSize="xl" useLink={config?.components?.news?.showDetails} key={n.title + n.timestamp} />
))}
</Grid>
<LinkButton colorScheme="brand" mt={5} href={AbsolutePaths.NEWS}>
Expand Down

0 comments on commit 77a9f95

Please sign in to comment.