{#if uploadingImage} {#await import('$lib/components/lemmy/modal/ImageUploadModal.svelte') then { default: UploadModal }} { if (e.detail) data.url = e.detail uploadingImage = false }} /> {/await} {/if}

{edit ? 'Edit' : 'Create'} Post

{#if !edit && data} {#if !data.community} { const c = e.detail if (!c) { data.community = null return } communitySearch = '' data.community = c }} /> {:else}
Community
{/if} {/if}
NSFW
{#if !edit} {/if}