add proptypes

This commit is contained in:
Bruno Windels 2019-07-19 16:34:50 +02:00
parent de1c4e0cfe
commit c713172a37

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) {