Merge pull request #3743 from matrix-org/t3chguy/react16_contexts
Migrate away from React Legacy contexts API
This commit is contained in:
commit
24d0d0d596
56 changed files with 654 additions and 757 deletions
|
@ -141,8 +141,8 @@ export default class MessageComposerInput extends React.Component {
|
|||
autocomplete: Autocomplete;
|
||||
historyManager: SlateComposerHistoryManager;
|
||||
|
||||
constructor(props, context) {
|
||||
super(props, context);
|
||||
constructor(props) {
|
||||
super(props);
|
||||
|
||||
const isRichTextEnabled = SettingsStore.getValue('MessageComposerInput.isRichTextEnabled');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue