Skip to content

Commit 511bc49

Browse files
committed
fix: add missing /-prefix for api doc links
This expressed itself as a hydration missmatch.
1 parent 73777d2 commit 511bc49

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/layers/base/app/components/TheFooter.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const { t: $t } = useTranslation()
1111
1212
const productLinks: Link[] = [
1313
{
14-
href: 'products/api/docs', icon: 'file-code', text: $t('products.api'),
14+
href: '/products/api/docs', icon: 'file-code', text: $t('products.api'),
1515
},
1616
{
1717
href: '/dashboard', icon: 'coins', text: $t('products.staking_hub'),

frontend/layers/products/app/pages/products/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const {
126126
:title="$t('products.landing_page.api.cards.api_docs.title')"
127127
:subtitle="$t('products.landing_page.api.cards.api_docs.subtitle')"
128128
title-icon="file-code-2"
129-
title-to="products/api/docs"
129+
title-to="/products/api/docs"
130130
>
131131
<div class="grid grid-cols-2 lg:grid-cols-3 gap-5xl mt-7xl">
132132
<article class="flex flex-col gap-4xl">

0 commit comments

Comments
 (0)