diff --git a/src/components/views/messages/RoomAvatarEvent.js b/src/components/views/messages/RoomAvatarEvent.js index 65e1339daf..525f7b81ee 100644 --- a/src/components/views/messages/RoomAvatarEvent.js +++ b/src/components/views/messages/RoomAvatarEvent.js @@ -14,12 +14,9 @@ See the License for the specific language governing permissions and limitations under the License. */ -'use strict'; - -var React = require('react'); - -var MatrixClientPeg = require("../../../MatrixClientPeg"); -var ContentRepo = require("matrix-js-sdk").ContentRepo; +import React from 'react'; +import MatrixClientPeg from '../../../MatrixClientPeg'; +import { ContentRepo } from 'matrix-js-sdk'; import { _t, _tJsx } from '../../../languageHandler'; import sdk from '../../../index'; import Modal from '../../../Modal';