aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/404.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/404.tsx')
-rw-r--r--src/pages/404.tsx11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/pages/404.tsx b/src/pages/404.tsx
index 5f4f89d..a98931f 100644
--- a/src/pages/404.tsx
+++ b/src/pages/404.tsx
@@ -18,7 +18,8 @@ import {
type SearchFormSubmit,
} from '../components';
import {
- convertTaxonomyToPageLink,
+ convertWPThematicPreviewToPageLink,
+ convertWPTopicPreviewToPageLink,
fetchThematicsCount,
fetchThematicsList,
fetchTopicsCount,
@@ -147,7 +148,9 @@ const Error404Page: NextPageWithLayout<Error404PageProps> = ({
{thematicsListTitle}
</Heading>
}
- items={getLinksItemData(thematicsList.map(convertTaxonomyToPageLink))}
+ items={getLinksItemData(
+ thematicsList.map(convertWPThematicPreviewToPageLink)
+ )}
/>
<LinksWidget
heading={
@@ -155,7 +158,9 @@ const Error404Page: NextPageWithLayout<Error404PageProps> = ({
{topicsListTitle}
</Heading>
}
- items={getLinksItemData(topicsList.map(convertTaxonomyToPageLink))}
+ items={getLinksItemData(
+ topicsList.map(convertWPTopicPreviewToPageLink)
+ )}
/>
</PageSidebar>
</Page>