mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-18 14:44:58 +08:00
fix for ref refactor pr
This commit is contained in:
parent
41cf18701f
commit
b36df73300
@ -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 New Issue
Block a user