X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/cac85db02ff00732cf75d473dc3411332f33d845..refs/heads/main:/src/routes/__layout.svelte?ds=inline diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte index 62881f2..16ae5dc 100644 --- a/src/routes/__layout.svelte +++ b/src/routes/__layout.svelte @@ -5,43 +5,35 @@ import { isLoading } from 'svelte-i18n'; import { _ } from 'svelte-i18n'; - import { getForums } from '$lib/stores/forums'; + import { forums } from '$lib/stores/forums'; import ErrorBlock from '$lib/components/error_block/error_block.svelte'; import ForumList from '$lib/components/forum_list/forum_list.svelte'; import Header from '$lib/components/header/header.svelte'; import Loader from '$lib/components/loader/loader.svelte'; import Footer from '$lib/components/footer/footer.svelte'; - - $: store = getForums(); - $: forums = $store.data; {#if $isLoading} {:else}
-
+
-