Allow posts with just an external link (#2079)

This commit is contained in:
Paul Frazee
2023-12-04 11:59:59 -08:00
committed by GitHub
parent e47c3dbe0e
commit 9562a80908
+1 -1
View File
@@ -201,7 +201,7 @@ export const ComposePost = observer(function ComposePost({
setError('') setError('')
if (richtext.text.trim().length === 0 && gallery.isEmpty) { if (richtext.text.trim().length === 0 && gallery.isEmpty && !extLink) {
setError('Did you want to say anything?') setError('Did you want to say anything?')
return return
} }