X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/be1ce532b26aea4e3e2258da78849bd245f7f78b..852ee620f0a2f6a83cf83eba860ca951b66bb7e2:/src/routes/__layout.svelte?ds=inline diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte index 0077810..16ae5dc 100644 --- a/src/routes/__layout.svelte +++ b/src/routes/__layout.svelte @@ -5,16 +5,13 @@ 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} @@ -25,17 +22,17 @@