fix: fix post edits not modifying post
This commit is contained in:
1 parent
b0c116246d
commit
dbc0f6f5bb
1 file changed
+1
@@ -97,6 +97,7 @@
|
|||||||
editingPost={post.post}
|
editingPost={post.post}
|
||||||
on:submit={(e) => {
|
on:submit={(e) => {
|
||||||
editing = false
|
editing = false
|
||||||
|
post = e.detail
|
||||||
dispatcher('edit', e.detail)
|
dispatcher('edit', e.detail)
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in new issue
Block a user