Skip to content

Commit

Permalink
feat(web): Remove front page news (#15221)
Browse files Browse the repository at this point in the history
  • Loading branch information
joningi98 authored Jun 14, 2024
1 parent 0090a0f commit 223783c
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions apps/web/screens/Home/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,27 +109,6 @@ const Home: Screen<HomeProps> = ({ categories, news, page, locale }) => {
items={news}
/>
</Box>
<Box
component="section"
paddingTop={[4, 4, 6]}
aria-label={n('newsTickerHeading')}
>
<GridContainer>
<NewLinks
heading={n('newsTickerHeading')}
seeMoreText={n('newsTickerSeeMore')}
items={(page?.linkList?.links ?? [])
.filter((x) => x.date)
.map(({ date, text, url }) => {
return {
text,
date: new Date(date),
href: url,
}
})}
/>
</GridContainer>
</Box>
{watsonConfig[locale] && (
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore make web strict
Expand Down

0 comments on commit 223783c

Please sign in to comment.