From a59c286c6bf78df188bb57ecac9ae15bc883c0b0 Mon Sep 17 00:00:00 2001 From: Zakhar Timoshenko Date: Tue, 10 Oct 2023 19:15:14 +0300 Subject: [PATCH] Fixes --- .vitepress/theme/index.ts | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.vitepress/theme/index.ts b/.vitepress/theme/index.ts index ad085c9..5bf20d5 100644 --- a/.vitepress/theme/index.ts +++ b/.vitepress/theme/index.ts @@ -25,18 +25,5 @@ export default { enhanceAppWithTabs(app) createZoom(app, router) analytics({ id: "G-X37JGMJE4R" }) - if ( - import.meta.env.PROD && - inBrowser - ) { - watch( - () => router.route.data.relativePath, - (_path, oldPath) => { - if (!oldPath) { // Skip initial change - return - } - } - ) - } }, } \ No newline at end of file