Merge pull request #3261 from matrix-org/bwindels/edithistorywarning

Get rid of warning of required prop
pull/21833/head
Bruno Windels 2019-07-31 11:57:47 +00:00 committed by GitHub
commit 3e07d29926
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ export default class EditHistoryMessage extends React.PureComponent {
static propTypes = { static propTypes = {
// the message event being edited // the message event being edited
mxEvent: PropTypes.instanceOf(MatrixEvent).isRequired, mxEvent: PropTypes.instanceOf(MatrixEvent).isRequired,
previousEdit: PropTypes.instanceOf(MatrixEvent).isRequired, previousEdit: PropTypes.instanceOf(MatrixEvent),
isBaseEvent: PropTypes.bool, isBaseEvent: PropTypes.bool,
}; };