]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
chore: remove unused
authorEduardo San Martin Morote <posva13@gmail.com>
Fri, 20 Oct 2023 09:18:38 +0000 (11:18 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Fri, 20 Oct 2023 09:19:20 +0000 (11:19 +0200)
packages/docs/.vitepress/theme/index.ts

index ffbaa279b833a1eec88f717715bea37c5ab7b3b9..5db0aeed000f048f15fd9b7055342d84e3af2583 100644 (file)
@@ -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