From 27cd9535bf7e59de20c0f6261c69525237427d60 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Tue, 21 Dec 2021 15:47:49 +0100 Subject: [PATCH] fix: remove @ts-ignore --- src/components/misc/no-auth-wrapper.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/misc/no-auth-wrapper.vue b/src/components/misc/no-auth-wrapper.vue index f42cdfec..e03db052 100644 --- a/src/components/misc/no-auth-wrapper.vue +++ b/src/components/misc/no-auth-wrapper.vue @@ -41,8 +41,8 @@ const store = useStore() const {t} = useI18n() const motd = computed(() => store.state.config.motd) -// @ts-ignore -const title = computed(() => t(route.meta.title ?? '')) + +const title = computed(() => t(route.meta?.title as string || '')) useTitle(() => title.value)