fix: votes + marked as read dont save when you go back

This commit is contained in:
James Xylight committed 2025-07-12 11:21:52 -07:00
1 parent 1edad4ac60
commit c969a32767
5 files changed
+16 -20

No files matched your search

@@ -116,7 +116,7 @@
<PostMeta
community={data.post.value.post_view.community}
user={data.post.value.post_view.creator}
bind:subscribed={data.post.value.community_view.subscribed}
subscribed={data.post.value.community_view.subscribed}
badges={{
deleted: data.post.value.post_view.post.deleted,
removed: data.post.value.post_view.post.removed,
@@ -162,7 +162,7 @@
{/if}
<div class="w-full relative">
<PostActions
bind:post={data.post.value.post_view}
post={data.post.value.post_view}
onedit={() =>
toast({
content: 'The post was edited successfully.',