summaryrefslogtreecommitdiffstats
path: root/src/components/organisms/layout/summary.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-05-23 19:32:42 +0200
committerArmand Philippot <git@armandphilippot.com>2022-05-23 20:53:58 +0200
commitc51b5d9a5f217f8aa59c4bdcb04eb3c87f5129b3 (patch)
treea4ce7f77c2b1742119eebf818d9b97db7ed1e310 /src/components/organisms/layout/summary.tsx
parent5ebd7c14f7303a0feb8ec1d902ecd0e287d929c3 (diff)
fix: ensure all topics/thematics have the base url
Diffstat (limited to 'src/components/organisms/layout/summary.tsx')
-rw-r--r--src/components/organisms/layout/summary.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/organisms/layout/summary.tsx b/src/components/organisms/layout/summary.tsx
index ca51cd6..8807878 100644
--- a/src/components/organisms/layout/summary.tsx
+++ b/src/components/organisms/layout/summary.tsx
@@ -83,12 +83,12 @@ const Summary: FC<SummaryProps> = ({
: undefined,
readingTime,
thematics: thematics?.map((thematic) => (
- <Link key={thematic.id} href={thematic.slug}>
+ <Link key={thematic.id} href={thematic.url}>
{thematic.name}
</Link>
)),
topics: topics?.map((topic) => (
- <Link key={topic.id} href={topic.slug}>
+ <Link key={topic.id} href={topic.url}>
{topic.name}
</Link>
)),