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
@@ -133,7 +133,11 @@
|
||||
</script>
|
||||
|
||||
<form on:submit|preventDefault={submit} class="flex flex-col gap-4">
|
||||
<h1 class="font-bold text-xl">{edit ? 'Edit' : 'Create'} Post</h1>
|
||||
<slot name="formtitle">
|
||||
<h1 class="font-bold text-xl">
|
||||
{edit ? 'Edit' : 'Create'} Post
|
||||
</h1>
|
||||
</slot>
|
||||
{#if !edit}
|
||||
<div>
|
||||
<div class="flex flex-row">
|
||||
|
||||
Reference in new issue
Block a user