Skip to content

Commit a046902

Browse files
fix: headers (#454)
1 parent aac7f9b commit a046902

File tree

5 files changed

+3
-37
lines changed

5 files changed

+3
-37
lines changed

app.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<script setup lang="ts">
2-
import { headerLinks } from './header-links';
3-
42
const { seo } = useAppConfig();
53
64
const { data: navigation } = await useAsyncData('navigation', () => fetchContentNavigation());
@@ -45,7 +43,7 @@ useSeoMeta({
4543
<NuxtPwaManifest />
4644
<NuxtLoadingIndicator />
4745

48-
<HeaderComponent :links="unref(computed(() => headerLinks()))" />
46+
<HeaderComponent />
4947

5048
<UMain>
5149
<NuxtLayout>

bun.lockb

264 Bytes
Binary file not shown.

error.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<script setup lang="ts">
22
import type { NuxtError } from '#app';
3-
import { headerLinks } from './header-links';
43
54
useSeoMeta({
65
title: 'Page not found',
@@ -54,7 +53,7 @@ const cards = [
5453

5554
<template>
5655
<div>
57-
<HeaderComponent :links="unref(computed(() => headerLinks()))" />
56+
<HeaderComponent />
5857

5958
<UMain>
6059
<UContainer>

header-links.ts

Lines changed: 0 additions & 31 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"vue-tsc": "2.1.6"
2323
},
2424
"dependencies": {
25-
"@matterlabs/docs-nuxt-template": "2.11.1",
25+
"@matterlabs/docs-nuxt-template": "2.11.2",
2626
"@tsparticles/slim": "3.5.0",
2727
"@tsparticles/vue3": "3.0.1",
2828
"@vite-pwa/nuxt": "0.10.5",

0 commit comments

Comments
 (0)