From fa59984e187f14d1c699c1e269a3e7b89cdef79f Mon Sep 17 00:00:00 2001 From: Pouya Saadeghi Date: Thu, 16 May 2024 23:21:19 +0300 Subject: [PATCH] docs --- src/docs/src/routes/+layout.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/docs/src/routes/+layout.svelte b/src/docs/src/routes/+layout.svelte index 8eaf82ab64c..c444caa6052 100644 --- a/src/docs/src/routes/+layout.svelte +++ b/src/docs/src/routes/+layout.svelte @@ -13,6 +13,7 @@ export let data onNavigate((navigation) => { + track("G-ER9PXT2JR4") if (!document.startViewTransition) return return new Promise((resolve) => { @@ -24,8 +25,6 @@ }) onMount(() => { - track("G-ER9PXT2JR4") - let lang = new URL(document.location).searchParams.get("lang") setLang(lang, false) if (localStorage.getItem("lang")) {