fix: remove @ts-ignore

This commit is contained in:
Dominik Pschenitschni 2021-12-21 15:47:49 +01:00
parent c46273ca34
commit 27cd9535bf
No known key found for this signature in database
GPG key ID: B257AC0149F43A77

View file

@ -41,8 +41,8 @@ const store = useStore()
const {t} = useI18n() const {t} = useI18n()
const motd = computed(() => store.state.config.motd) 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) useTitle(() => title.value)
</script> </script>