fix for ref refactor pr

This commit is contained in:
Bruno Windels 2019-12-19 16:09:19 +00:00
parent 41cf18701f
commit b36df73300

View File

@ -1136,7 +1136,7 @@ const TimelinePanel = createReactClass({
const allowPartial = opts.allowPartial || false;
const messagePanel = this._messagePanel.current;
if (messagePanel === undefined) return null;
if (!messagePanel) return null;
const EventTile = sdk.getComponent('rooms.EventTile');