misc: remove duplicate primary action

This commit is contained in:
Xylight committed 2024-08-03 19:06:31 -07:00
1 parent 319c896e55
commit 786597e83d
1 file changed
+1 -8
@@ -430,14 +430,7 @@
icon={ChatBubbleLeftRight} icon={ChatBubbleLeftRight}
title={$t('routes.post.emptyComments.title')} title={$t('routes.post.emptyComments.title')}
description={$t('routes.post.emptyComments.description')} description={$t('routes.post.emptyComments.description')}
> ></Placeholder>
{#if $profile.jwt}
<Button color="primary" on:click={() => (commenting = true)}>
<Icon src={PlusCircle} size="16" micro />
{$t('routes.post.addComment')}
</Button>
{/if}
</Placeholder>
{/if} {/if}
{/await} {/await}
{#if post.post_view.counts.comments > 5} {#if post.post_view.counts.comments > 5}