File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
routes/(app)/q/[name]/quibs/[id]/[slug] Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2
2
import { FormatDate } from ' $lib/functions/date' ;
3
3
import { createAuthStore } from ' $lib/stores/auth.svelte' ;
4
4
import type { CommentTree } from ' $lib/types/comment' ;
5
- import Comment from ' ./comment .svelte' ;
5
+ import CommentBlock from ' ./comment_block .svelte' ;
6
6
import Avatar from ' ./ui/avatar.svelte' ;
7
7
8
8
let comment: CommentTree = $props ();
74
74
<!-- render reply comments if any -->
75
75
{#if comment .children && comment .children .length > 0 }
76
76
{#each comment .children as child }
77
- <Comment {...child } />
77
+ <CommentBlock {...child } />
78
78
{/each }
79
79
{/if }
80
80
</div >
Original file line number Diff line number Diff line change 1
1
<script lang =" ts" >
2
2
import { browser } from ' $app/environment' ;
3
- import Comment from ' $lib/components/comment .svelte' ;
3
+ import CommentBlock from ' $lib/components/comment_block .svelte' ;
4
4
import Avatar from ' $lib/components/ui/avatar.svelte' ;
5
5
import { FormatDate } from ' $lib/functions/date' ;
6
6
import { is_valid } from ' $lib/functions/is_valid' ;
107
107
<!-- render comments -->
108
108
{#if comments }
109
109
{#each comments as comment }
110
- <Comment {...comment } />
110
+ <CommentBlock {...comment } />
111
111
{/each }
112
112
{/if }
You can’t perform that action at this time.
0 commit comments