diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-05-23 19:32:42 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-05-23 20:53:58 +0200 |
| commit | c51b5d9a5f217f8aa59c4bdcb04eb3c87f5129b3 (patch) | |
| tree | a4ce7f77c2b1742119eebf818d9b97db7ed1e310 /src/pages/404.tsx | |
| parent | 5ebd7c14f7303a0feb8ec1d902ecd0e287d929c3 (diff) | |
fix: ensure all topics/thematics have the base url
Diffstat (limited to 'src/pages/404.tsx')
| -rw-r--r-- | src/pages/404.tsx | 8 |
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} |
