Remove unnecessary proptype discrepancy

This commit is contained in:
Claire 2023-11-16 17:57:13 +01:00
parent 7f5b164326
commit e023acfd00

View file

@ -41,7 +41,7 @@ const messages = defineMessages({
class ComposeForm extends ImmutablePureComponent {
static propTypes = {
intl: PropTypes.object.isRequired,
text: PropTypes.string,
text: PropTypes.string.isRequired,
suggestions: ImmutablePropTypes.list,
spoiler: PropTypes.bool,
privacy: PropTypes.string,