chore: cleanup

This commit is contained in:
userquin 2023-02-18 04:17:43 +01:00
parent 71923d30dd
commit ef8a2bec32
2 changed files with 1 additions and 4 deletions

View file

@ -23,9 +23,6 @@ export function setupPageHeader() {
content: () => `width=device-width,initial-scale=1${enablePinchToZoom.value ? '' : ',maximum-scale=1,user-scalable=0'},viewport-fit=cover`,
}],
titleTemplate: (title) => {
if (!isHydrated)
return ''
let titleTemplate = title ?? ''
if (titleTemplate.match(/&[a-z0-9#]+;/gi)) {

View file

@ -1,5 +1,5 @@
<script setup lang="ts">
const { t, setLocale } = useI18n()
const { t } = useI18n()
useHydratedHead({
title: () => `${t('tab.notifications_mention')} | ${t('nav.notifications')}`,
})