diff options
| -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'; |
