diff --git a/src/client/theme-default/NotFound.vue b/src/client/theme-default/NotFound.vue index a56270dd..01ab5f19 100644 --- a/src/client/theme-default/NotFound.vue +++ b/src/client/theme-default/NotFound.vue @@ -2,11 +2,11 @@

404

{{ getMsg() }}
- Take me home. + Take me home.
- diff --git a/src/client/theme-default/components/NavBarLink.vue b/src/client/theme-default/components/NavBarLink.vue index c91ff7ab..ab59f34b 100644 --- a/src/client/theme-default/components/NavBarLink.vue +++ b/src/client/theme-default/components/NavBarLink.vue @@ -20,6 +20,10 @@ import { withBase, isExternal } from '../utils' import type { DefaultTheme } from '../config' import OutboundLink from './icons/OutboundLink.vue' +const { item } = defineProps<{ + item: DefaultTheme.NavItemWithLink +}>() + const normalizePath = (path: string): string => { path = path .replace(/#.*$/, '') @@ -31,10 +35,6 @@ const normalizePath = (path: string): string => { return path } -const { item } = defineProps<{ - item: DefaultTheme.NavItemWithLink -}>() - const route = useRoute() const classes = computed(() => ({ diff --git a/src/client/theme-default/components/NextAndPrevLinks.vue b/src/client/theme-default/components/NextAndPrevLinks.vue index b34173c2..65586a13 100644 --- a/src/client/theme-default/components/NextAndPrevLinks.vue +++ b/src/client/theme-default/components/NextAndPrevLinks.vue @@ -18,8 +18,8 @@