fix for ref refactor pr

pull/21833/head
Bruno Windels 2019-12-19 16:09:19 +00:00
parent 41cf18701f
commit b36df73300
1 changed files with 1 additions and 1 deletions

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');