this is optional, and not provided for first edit

pull/21833/head
Bruno Windels 2019-07-31 09:47:02 +02:00
parent 8b6c70f955
commit 17e838e23b
1 changed files with 1 additions and 1 deletions

View File

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