1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

this is optional, and not provided for first edit

This commit is contained in:
Bruno Windels
2019-07-31 09:47:02 +02:00
parent 8b6c70f955
commit 17e838e23b

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,
};