summaryrefslogtreecommitdiffstats
path: root/src/pages/404.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/404.tsx')
-rw-r--r--src/pages/404.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pages/404.tsx b/src/pages/404.tsx
index 4ab7784..fd7187a 100644
--- a/src/pages/404.tsx
+++ b/src/pages/404.tsx
@@ -98,8 +98,9 @@ const Error404Page: NextPageWithLayout<Error404PageProps> = ({
<LinksListWidget
key="thematics-list"
items={getLinksListItems(
- thematicsList.map(getPageLinkFromRawData),
- 'thematic'
+ thematicsList.map((thematic) =>
+ getPageLinkFromRawData(thematic, 'thematic')
+ )
)}
title={thematicsListTitle}
level={2}
@@ -107,8 +108,7 @@ const Error404Page: NextPageWithLayout<Error404PageProps> = ({
<LinksListWidget
key="topics-list"
items={getLinksListItems(
- topicsList.map(getPageLinkFromRawData),
- 'topic'
+ topicsList.map((topic) => getPageLinkFromRawData(topic, 'topic'))
)}
title={topicsListTitle}
level={2}