add proptypes

pull/21833/head
Bruno Windels 2019-07-19 16:34:50 +02:00
parent de1c4e0cfe
commit c713172a37
1 changed files with 2 additions and 0 deletions

View File

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