diff options
| author | Adrien Hopkins <[email protected]> | 2022-08-16 13:37:07 -0500 |
|---|---|---|
| committer | Adrien Hopkins <[email protected]> | 2022-08-16 13:37:07 -0500 |
| commit | c68876ac739bf18400ea0d44f525799c8bd885ed (patch) | |
| tree | e248bad783c1d70e55df1b5386c480772baca949 /src | |
| parent | d9cc47891f458ffb1426e3c0fd38c1c917a618ba (diff) | |
| download | coinos-ui-c68876ac739bf18400ea0d44f525799c8bd885ed.tar.gz coinos-ui-c68876ac739bf18400ea0d44f525799c8bd885ed.zip | |
revert locale-load-waiting commit
Diffstat (limited to 'src')
| -rw-r--r-- | src/routes/__layout.svelte | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte index 7c373879..c228ce4c 100644 --- a/src/routes/__layout.svelte +++ b/src/routes/__layout.svelte @@ -1,15 +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 - return waitLocale(); - } -</script> - <script> import { SvelteToast } from '@zerodevx/svelte-toast'; + import '$lib/i18n'; import '../app.css'; import { onMount } from 'svelte'; import { connect } from '$lib/socket'; |
