fix: ssr error
This commit is contained in:
1 parent
741604d1db
commit
bd40991a64
1 file changed
+4
-2
@@ -45,7 +45,8 @@
|
|||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Modal bind:open={sidebar}>
|
{#if sidebar}
|
||||||
|
<Modal bind:open={sidebar}>
|
||||||
<span slot="title">About</span>
|
<span slot="title">About</span>
|
||||||
<div class="mx-auto">
|
<div class="mx-auto">
|
||||||
<CommunityCard
|
<CommunityCard
|
||||||
@@ -53,7 +54,8 @@
|
|||||||
moderators={data.community.moderators}
|
moderators={data.community.moderators}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</Modal>
|
</Modal>
|
||||||
|
{/if}
|
||||||
|
|
||||||
{#if data.community.community_view.community.banner}
|
{#if data.community.community_view.community.banner}
|
||||||
<img
|
<img
|
||||||
|
|||||||
Reference in new issue
Block a user