Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit e6cf93e

Browse files
committed
switch to imports
1 parent 01cdc7f commit e6cf93e

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/components/views/messages/RoomAvatarEvent.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,9 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
'use strict';
18-
19-
var React = require('react');
20-
21-
var MatrixClientPeg = require("../../../MatrixClientPeg");
22-
var ContentRepo = require("matrix-js-sdk").ContentRepo;
17+
import React from 'react';
18+
import MatrixClientPeg from '../../../MatrixClientPeg';
19+
import { ContentRepo } from 'matrix-js-sdk';
2320
import { _t, _tJsx } from '../../../languageHandler';
2421
import sdk from '../../../index';
2522
import Modal from '../../../Modal';

0 commit comments

Comments
 (0)