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