From 17e838e23b355e3dd1f84fa4e76148f22b490e86 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 31 Jul 2019 09:47:02 +0200 Subject: [PATCH] this is optional, and not provided for first edit --- src/components/views/messages/EditHistoryMessage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/messages/EditHistoryMessage.js b/src/components/views/messages/EditHistoryMessage.js index 7f00449156..70f3d207e0 100644 --- a/src/components/views/messages/EditHistoryMessage.js +++ b/src/components/views/messages/EditHistoryMessage.js @@ -36,7 +36,7 @@ export default class EditHistoryMessage extends React.PureComponent { static propTypes = { // the message event being edited mxEvent: PropTypes.instanceOf(MatrixEvent).isRequired, - previousEdit: PropTypes.instanceOf(MatrixEvent).isRequired, + previousEdit: PropTypes.instanceOf(MatrixEvent), isBaseEvent: PropTypes.bool, };