Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3261 from matrix-org/bwindels/edithistorywarning
Browse files Browse the repository at this point in the history
Get rid of warning of required prop
  • Loading branch information
bwindels authored Jul 31, 2019
2 parents 678c9a7 + 17e838e commit 3e07d29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/messages/EditHistoryMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit 3e07d29

Please sign in to comment.