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 | e40b0d0d68b56d7c45562583a0e36f0bd10eceaf (patch) | |
| tree | 793fd21c6cf8e09399c4d5b1a935ee1c737a6579 /src | |
| parent | 72f91ef2f47dc75832cbbf41b1063b66656ac2c5 (diff) | |
| download | coinos-ui-e40b0d0d68b56d7c45562583a0e36f0bd10eceaf.tar.gz coinos-ui-e40b0d0d68b56d7c45562583a0e36f0bd10eceaf.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'; |
