diff options
| author | Adrien Hopkins <[email protected]> | 2022-08-16 13:32:11 -0500 |
|---|---|---|
| committer | Adrien Hopkins <[email protected]> | 2022-08-16 13:32:11 -0500 |
| commit | d9cc47891f458ffb1426e3c0fd38c1c917a618ba (patch) | |
| tree | 7b29eff2b6e3cab72af19da239bee9b81074abdf /src | |
| parent | d9ef1034e5cc46b8c07ca0b8cc11112aa16dab3a (diff) | |
| download | coinos-ui-d9cc47891f458ffb1426e3c0fd38c1c917a618ba.tar.gz coinos-ui-d9cc47891f458ffb1426e3c0fd38c1c917a618ba.zip | |
import i18n before waiting for locale
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'; |
