From c713172a37a0d633ddf22d1318be890941a89e09 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 19 Jul 2019 16:34:50 +0200 Subject: [PATCH] add proptypes --- src/components/views/messages/EditHistoryMessage.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/views/messages/EditHistoryMessage.js b/src/components/views/messages/EditHistoryMessage.js index 89d6e14a5c..8649cca1c4 100644 --- a/src/components/views/messages/EditHistoryMessage.js +++ b/src/components/views/messages/EditHistoryMessage.js @@ -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) {