mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 12:28:50 +03:00
update proptypes
This commit is contained in:
parent
c135cd60d2
commit
7b3282185a
1 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,6 @@ import EditorModel from '../../../editor/model';
|
|||
import {getCaretOffsetAndText} from '../../../editor/dom';
|
||||
import {htmlSerializeIfNeeded, textSerialize} from '../../../editor/serialize';
|
||||
import {PartCreator} from '../../../editor/parts';
|
||||
import EditorStateTransfer from '../../../utils/EditorStateTransfer';
|
||||
import {MatrixClient} from 'matrix-js-sdk';
|
||||
import BasicMessageComposer from "./BasicMessageComposer";
|
||||
import ReplyPreview from "./ReplyPreview";
|
||||
|
@ -42,8 +41,9 @@ function createMessageContent(model, editedEvent) {
|
|||
|
||||
export default class SendMessageComposer extends React.Component {
|
||||
static propTypes = {
|
||||
// the message event being edited
|
||||
editState: PropTypes.instanceOf(EditorStateTransfer).isRequired,
|
||||
room: PropTypes.object.isRequired,
|
||||
placeholder: PropTypes.string,
|
||||
permalinkCreator: PropTypes.object.isRequired,
|
||||
};
|
||||
|
||||
static contextTypes = {
|
||||
|
|
Loading…
Reference in a new issue