diff --git a/packages/svelte/src/lib/TolgeeProvider.svelte b/packages/svelte/src/lib/TolgeeProvider.svelte index 7109b56dc2..571a0b21a2 100644 --- a/packages/svelte/src/lib/TolgeeProvider.svelte +++ b/packages/svelte/src/lib/TolgeeProvider.svelte @@ -12,14 +12,12 @@ tolgee, } as TolgeeSvelteContext); - if (typeof window !== 'undefined') { - onMount(() => { - tolgee.run().finally(() => { - isLoading = false - }) - }); - onDestroy(tolgee.stop); - } + onMount(() => { + tolgee.run().finally(() => { + isLoading = false + }) + }); + onDestroy(tolgee.stop); {#if !isLoading }