Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed May 16, 2024
1 parent 05c8994 commit fa59984
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/docs/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
export let data
onNavigate((navigation) => {
track("G-ER9PXT2JR4")
if (!document.startViewTransition) return
return new Promise((resolve) => {
Expand All @@ -24,8 +25,6 @@
})
onMount(() => {
track("G-ER9PXT2JR4")
let lang = new URL(document.location).searchParams.get("lang")
setLang(lang, false)
if (localStorage.getItem("lang")) {
Expand Down

0 comments on commit fa59984

Please sign in to comment.