fix: bind score and vote to postvote
This commit is contained in:
1 parent
f239ddeabf
commit
8915759031
1 file changed
+5
-1
@@ -91,7 +91,11 @@
|
|||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<div class="flex flex-row gap-2 items-center h-[30px]">
|
<div class="flex flex-row gap-2 items-center h-[30px]">
|
||||||
<PostVote post={post.post} vote={post.my_vote} score={post.counts.score} />
|
<PostVote
|
||||||
|
post={post.post}
|
||||||
|
bind:vote={post.my_vote}
|
||||||
|
bind:score={post.counts.score}
|
||||||
|
/>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
color="secondary"
|
color="secondary"
|
||||||
|
|||||||
Reference in new issue
Block a user