aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/recherche/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/recherche/index.tsx')
-rw-r--r--src/pages/recherche/index.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pages/recherche/index.tsx b/src/pages/recherche/index.tsx
index ab619fb..ffdbf44 100644
--- a/src/pages/recherche/index.tsx
+++ b/src/pages/recherche/index.tsx
@@ -165,8 +165,9 @@ const SearchPage: NextPageWithLayout<SearchPageProps> = ({
<LinksListWidget
key="thematics-list"
items={getLinksListItems(
- thematicsList.map(getPageLinkFromRawData),
- 'thematic'
+ thematicsList.map((thematic) =>
+ getPageLinkFromRawData(thematic, 'thematic')
+ )
)}
title={thematicsListTitle}
level={2}
@@ -174,8 +175,7 @@ const SearchPage: NextPageWithLayout<SearchPageProps> = ({
<LinksListWidget
key="topics-list"
items={getLinksListItems(
- topicsList.map(getPageLinkFromRawData),
- 'topic'
+ topicsList.map((topic) => getPageLinkFromRawData(topic, 'topic'))
)}
title={topicsListTitle}
level={2}