@@ -32,14 +23,14 @@
import { defineComponent } from 'vue'
import { Sidebar } from '@/components/Sidebar'
import Breadcrumbs from '@/components/Breadcrumbs.vue'
-import { useI18n } from 'vue-i18n'
+import usePageTitle from '@/hooks/usePageTitle'
export default defineComponent({
name: 'Category',
components: { Sidebar, Breadcrumbs },
setup() {
- const { t } = useI18n()
- return { t }
+ const { pageTitle, updateTitle } = usePageTitle()
+ return { pageTitle }
}
})
diff --git a/src/views/Links.vue b/src/views/Links.vue
index d6b99d8b..c52571fb 100644
--- a/src/views/Links.vue
+++ b/src/views/Links.vue
@@ -1,10 +1,10 @@