check if locale is loaded
This commit is contained in:
parent
958d40f887
commit
8fdad928ac
1 changed files with 4 additions and 1 deletions
|
@ -2,8 +2,11 @@
|
|||
import '../app.pcss';
|
||||
|
||||
import { ModeWatcher } from 'mode-watcher';
|
||||
import { isLoading } from 'svelte-i18n';
|
||||
</script>
|
||||
|
||||
<ModeWatcher />
|
||||
|
||||
{#if !$isLoading}
|
||||
<slot />
|
||||
{/if}
|
||||
|
|
Loading…
Reference in a new issue