Added replies

This commit is contained in:
Xodrium 2023-02-12 04:50:15 -05:00
parent 1c75af5349
commit e9723303d8
6 changed files with 54 additions and 14 deletions

View file

@ -80,12 +80,12 @@
<span slot="footer">
<PostButton
clickFunc={() => vote('up')}
data={upvotes * 1 + ' Yes'}
data={upvotes * 1}
icon='/upvote.svg'
/>
<PostButton
clickFunc={() => vote('down')}
data={downvotes * 1 + ' No'}
data={downvotes * 1 }
icon='/downvote.svg'
/>
{#if isAuthor}
@ -102,6 +102,11 @@
icon='/view.svg'
/>
{/if}
<PostButton
href='/new_post?init=%23{id}'
data={'Reply'}
icon='/view.svg'
/>
</span>
</Area>
{/if}