Merge pull request #3743 from matrix-org/t3chguy/react16_contexts

Migrate away from React Legacy contexts API
This commit is contained in:
Michael Telatynski 2019-12-19 20:32:11 +00:00 committed by GitHub
commit 24d0d0d596
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
56 changed files with 654 additions and 757 deletions

View file

@ -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');