You've already forked matrix-react-sdk
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:
@ -41,6 +41,8 @@ export default class EditHistoryMessage extends React.PureComponent {
|
|||||||
static propTypes = {
|
static propTypes = {
|
||||||
// the message event being edited
|
// the message event being edited
|
||||||
mxEvent: PropTypes.instanceOf(MatrixEvent).isRequired,
|
mxEvent: PropTypes.instanceOf(MatrixEvent).isRequired,
|
||||||
|
previousEdit: PropTypes.instanceOf(MatrixEvent).isRequired,
|
||||||
|
isBaseEvent: PropTypes.bool,
|
||||||
};
|
};
|
||||||
|
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
|
Reference in New Issue
Block a user