fix for ref refactor pr
This commit is contained in:
parent
41cf18701f
commit
b36df73300
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in a new issue