diff --git a/.vitepress/theme/index.ts b/.vitepress/theme/index.ts index 089a801..6204999 100644 --- a/.vitepress/theme/index.ts +++ b/.vitepress/theme/index.ts @@ -1,4 +1,3 @@ -import { h, watchEffect } from 'vue' import { Theme, useData } from 'vitepress' import DefaultTheme from 'vitepress/theme' // import AsideSponsors from './components/AsideSponsors.vue' @@ -20,16 +19,6 @@ const theme: Theme = { app.component('VueSchoolLink', VueSchoolLink) app.component('VueMasteryLogoLink', VueMasteryLogoLink) }, - - // TODO: real date - // setup() { - // const { lang } = useData() - // watchEffect(() => { - // if (typeof document !== 'undefined') { - // document.cookie = `nf_lang=${lang.value}; expires=Sun, 1 Jan 2023 00:00:00 UTC; path=/` - // } - // }) - // }, } export default theme