X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/fcbbc49687afeeecdc9388b367b1d7f2d0c76214..refs/heads/main:/src/routes/t/%5Bid%5D.svelte
diff --git a/src/routes/t/[id].svelte b/src/routes/t/[id].svelte
index 50aad50..b7a067b 100644
--- a/src/routes/t/[id].svelte
+++ b/src/routes/t/[id].svelte
@@ -1,48 +1,43 @@
-
-
- {#if $store.loading}
+ {#if $response.loading}
{$_('loader.message')}, {$_('topic.title')}
{/if}
- {#if $store.error}
+ {#if $response.error}
{$_('error.generic.title')}, {$_('topic.title')}
{/if}
- {#if topic}
- {topic.title}, {$_('topic.title')}
+ {#if $response.data}
+ {$response.data.title}, {$_('topic.title')}
{/if}
-{#if $store.loading}
+{#if $response.loading}
{/if}
-{#if $store.error}
+{#if $response.error}
{/if}
-{#if topic}
-
+{#if $response.data}
+
{/if}