add proptypes
This commit is contained in:
parent
de1c4e0cfe
commit
c713172a37
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,8 @@ 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,
|
||||||
|
isBaseEvent: PropTypes.bool,
|
||||||
};
|
};
|
||||||
|
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
|
|
Loading…
Reference in a new issue