misc: remove useless check

This commit is contained in:
James Xylight committed 2025-07-04 22:07:50 -07:00
1 parent 47fc1e2e26
commit f233f4564f
1 file changed
+2 -2
+2 -2
View File
@@ -358,9 +358,9 @@
> >
{#key data.items} {#key data.items}
{#each data.items.value as item (item)} {#each data.items.value as item (item)}
{#if isCommentView(item) && data.filters.value.type == 'comments'} {#if isCommentView(item)}
<CommentItem comment={item} /> <CommentItem comment={item} />
{:else if !isCommentView(item) && data.filters.value.type == 'posts'} {:else if !isCommentView(item)}
<Post post={item} /> <Post post={item} />
{/if} {/if}
{/each} {/each}