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

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