check if locale is loaded

This commit is contained in:
vcoppe
2024-06-19 22:15:05 +02:00
parent 958d40f887
commit 8fdad928ac

View File

@@ -2,8 +2,11 @@
import '../app.pcss';
import { ModeWatcher } from 'mode-watcher';
import { isLoading } from 'svelte-i18n';
</script>
<ModeWatcher />
<slot />
{#if !$isLoading}
<slot />
{/if}