diff --git a/src/lib/components/lemmy/post/PostForm.svelte b/src/lib/components/lemmy/post/PostForm.svelte index 712464d2..c006e7ba 100644 --- a/src/lib/components/lemmy/post/PostForm.svelte +++ b/src/lib/components/lemmy/post/PostForm.svelte @@ -74,7 +74,7 @@ }) async function submit() { - if ((!data.community || communitySearch == '') && !edit) { + if ((!data.community) && !edit) { toast({ type: 'warning', content: 'You need to set a community.',