Skip to content

Commit ca12273

Browse files
committed
fix: destroy pane on cancel
1 parent b5c2d9c commit ca12273

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

platforms/metagram/src/routes/(protected)/+layout.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@
211211
</div>
212212
{/each}
213213
</div>
214+
<h3 class="text-black-800 mt-25">Who can see the post?</h3>
214215
{/if}
215216
{#if files}
216217
<div class="grid grid-cols-2 gap-2">
@@ -219,6 +220,7 @@
219220
size="sm"
220221
callback={async () => {
221222
files = undefined;
223+
paneModal?.destroy({animate: true})
222224
}}>Cancel</Button
223225
>
224226
<Button

0 commit comments

Comments
 (0)