diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/routes/__layout.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte index 5f9f1456..7c373879 100644 --- a/src/routes/__layout.svelte +++ b/src/routes/__layout.svelte @@ -1,5 +1,6 @@ <script context="module"> import { waitLocale } from 'svelte-i18n'; + import '$lib/i18n'; export async function preload() { // awaits for the loading of the 'en-US' and 'en' dictionaries @@ -10,7 +11,6 @@ <script> import { SvelteToast } from '@zerodevx/svelte-toast'; import '../app.css'; - import '$lib/i18n'; import { onMount } from 'svelte'; import { connect } from '$lib/socket'; import { user, token } from '$lib/store'; |
