fix: fix edit post dialog
This commit is contained in:
1 parent
87fcf27a82
commit
4b1d6c274f
2 files changed
+10
-3
No files matched your search
@@ -71,7 +71,8 @@
|
||||
</script>
|
||||
|
||||
{#if editing}
|
||||
<Modal bind:open={editing} class="max-w-[90vw] w-[34rem]">
|
||||
<Modal bind:open={editing}>
|
||||
<h1 slot="title" class="text-2xl font-bold">Editing post</h1>
|
||||
<PostForm
|
||||
edit
|
||||
editingPost={post.post}
|
||||
@@ -79,7 +80,9 @@
|
||||
editing = false
|
||||
dispatcher('edit', e.detail)
|
||||
}}
|
||||
/>
|
||||
>
|
||||
<span slot="formtitle" />
|
||||
</PostForm>
|
||||
</Modal>
|
||||
{/if}
|
||||
|
||||
|
||||
Reference in new issue
Block a user