Allow posts with just an external link (#2079)
This commit is contained in:
parent
e47c3dbe0e
commit
9562a80908
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ export const ComposePost = observer(function ComposePost({
|
|||
|
||||
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?')
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue