<script lang="ts">
    import "../../app.pcss";
    import { setLocale } from "$lib/i18n/i18n-svelte";
    import type { LayoutData } from "./$types";

    export let data: LayoutData;

    setLocale(data.locale);
</script>

<slot />
