Use sdk.getComponent

pull/21833/head
Luke Barnard 2016-11-10 13:01:48 +00:00
parent 79c01fa1a4
commit d01bb0b78f
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,6 @@ var dis = require("../../dispatcher");
var sdk = require('../../index');
var MatrixClientPeg = require('../../MatrixClientPeg')
var MemberEventListSummary = require('../views/elements/MemberEventListSummary.js');
/* (almost) stateless UI component which builds the event tiles in the room timeline.
*/
@ -230,6 +229,7 @@ module.exports = React.createClass({
_getEventTiles: function() {
var EventTile = sdk.getComponent('rooms.EventTile');
const MemberEventListSummary = sdk.getComponent('views.elements.MemberEventListSummary');
this.eventNodes = {};