Allow posts with just an external link (#2079)
parent
e47c3dbe0e
commit
9562a80908
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue