fix: remove default values from text inputs

This commit is contained in:
James Xylight committed 2025-02-05 21:10:17 -08:00
1 parent bd09390fba
commit 714cb37a6e
5 files changed
+22 -11

No files matched your search

@@ -434,9 +434,12 @@
<CommentForm
postId={data.post.post_view.post.id}
oncomment={(comment) => {
comments.comments.push(comment.comment_view)
reloadComments()
toast({ content: $t('routes.post.commented'), type: 'success' })
Promise.resolve(data.comments).then((r) => {
r.comments.push(comment.comment_view)
})
// comments.comments.push(comment.comment_view)
// reloadComments()
// toast({ content: $t('routes.post.commented'), type: 'success' })
}}
locked={(data.post.post_view.post.locked &&
!(