aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/blog
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/blog')
-rw-r--r--src/pages/blog/index.tsx8
-rw-r--r--src/pages/blog/page/[number].tsx8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/pages/blog/index.tsx b/src/pages/blog/index.tsx
index cfd6f8c..3956308 100644
--- a/src/pages/blog/index.tsx
+++ b/src/pages/blog/index.tsx
@@ -153,8 +153,9 @@ const BlogPage: NextPageWithLayout<BlogPageProps> = ({
<LinksListWidget
key="thematics-list"
items={getLinksListItems(
- thematicsList.map(getPageLinkFromRawData),
- 'thematic'
+ thematicsList.map((thematic) =>
+ getPageLinkFromRawData(thematic, 'thematic')
+ )
)}
title={thematicsListTitle}
level={2}
@@ -162,8 +163,7 @@ const BlogPage: NextPageWithLayout<BlogPageProps> = ({
<LinksListWidget
key="topics-list"
items={getLinksListItems(
- topicsList.map(getPageLinkFromRawData),
- 'topic'
+ topicsList.map((topic) => getPageLinkFromRawData(topic, 'topic'))
)}
title={topicsListTitle}
level={2}
diff --git a/src/pages/blog/page/[number].tsx b/src/pages/blog/page/[number].tsx
index 78b1db4..b5efd27 100644
--- a/src/pages/blog/page/[number].tsx
+++ b/src/pages/blog/page/[number].tsx
@@ -148,8 +148,9 @@ const BlogPage: NextPageWithLayout<BlogPageProps> = ({
<LinksListWidget
key="thematics-list"
items={getLinksListItems(
- thematicsList.map(getPageLinkFromRawData),
- 'thematic'
+ thematicsList.map((thematic) =>
+ getPageLinkFromRawData(thematic, 'thematic')
+ )
)}
title={thematicsListTitle}
level={2}
@@ -157,8 +158,7 @@ const BlogPage: NextPageWithLayout<BlogPageProps> = ({
<LinksListWidget
key="topics-list"
items={getLinksListItems(
- topicsList.map(getPageLinkFromRawData),
- 'topic'
+ topicsList.map((topic) => getPageLinkFromRawData(topic, 'topic'))
)}
title={topicsListTitle}
level={2}