You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Convert many imports to handle ES6 exports
Reliant upon https://github.com/matrix-org/matrix-react-sdk/pull/3761
This commit is contained in:
@@ -17,8 +17,7 @@ limitations under the License.
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import createReactClass from 'create-react-class';
|
||||
|
||||
const TextForEvent = require('../../../TextForEvent');
|
||||
import * as TextForEvent from "../../../TextForEvent";
|
||||
|
||||
module.exports = createReactClass({
|
||||
displayName: 'TextualEvent',
|
||||
|
||||
Reference in New Issue
Block a user