X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/879fa389c2592760def75177eefbd3193e1845c9..fb76052a02708a8fafa310d99d7d7b403b4b7ad8:/src/routes/%24layout.svelte
diff --git a/src/routes/$layout.svelte b/src/routes/$layout.svelte
index 8fd2ae0..234d26a 100644
--- a/src/routes/$layout.svelte
+++ b/src/routes/$layout.svelte
@@ -4,13 +4,16 @@
import { isLoading } from 'svelte-i18n';
import { _ } from 'svelte-i18n';
- import { forums } from '$/stores/forums';
+ import { getForums } from '$/stores/forums';
import ErrorBlock from '$/components/error_block/error_block.svelte';
import ForumList from '$/components/forum_list/forum_list.svelte';
import Header from '$/components/header/header.svelte';
import Loader from '$/components/loader/loader.svelte';
import Footer from '$/components/footer/footer.svelte';
+
+ $: store = getForums();
+ $: forums = $store.data;
{#if $isLoading}
@@ -21,14 +24,14 @@