Tolltip tweak to not require the passing in of the parent

This commit is contained in:
wmwragg 2016-09-04 07:42:09 +01:00
parent 03e74f48f8
commit 721baf8d42

View file

@ -249,7 +249,7 @@ module.exports = React.createClass({
} }
else if (this.state.hover) { else if (this.state.hover) {
var RoomTooltip = sdk.getComponent("rooms.RoomTooltip"); var RoomTooltip = sdk.getComponent("rooms.RoomTooltip");
label = <RoomTooltip room={this.props.room} parent={this} top={4} left={-14} />; tooltip = <RoomTooltip room={this.props.room} top={4} left={-14} />;
} }
var incomingCallBox; var incomingCallBox;