You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-20 16:22:28 +03:00
Fix the custom tag panel
https://github.com/matrix-org/matrix-react-sdk/pull/2780 renamed RoomTooltip (to Tooltip) but missed the references in the custom tag panel.
This commit is contained in:
@@ -84,7 +84,7 @@ class CustomRoomTagTile extends React.Component {
|
|||||||
render() {
|
render() {
|
||||||
const BaseAvatar = sdk.getComponent('avatars.BaseAvatar');
|
const BaseAvatar = sdk.getComponent('avatars.BaseAvatar');
|
||||||
const AccessibleButton = sdk.getComponent('elements.AccessibleButton');
|
const AccessibleButton = sdk.getComponent('elements.AccessibleButton');
|
||||||
const RoomTooltip = sdk.getComponent('rooms.RoomTooltip');
|
const Tooltip = sdk.getComponent('rooms.Tooltip');
|
||||||
|
|
||||||
const tag = this.props.tag;
|
const tag = this.props.tag;
|
||||||
const avatarHeight = 40;
|
const avatarHeight = 40;
|
||||||
@@ -103,7 +103,7 @@ class CustomRoomTagTile extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const tip = (this.state.hover ?
|
const tip = (this.state.hover ?
|
||||||
<RoomTooltip className="mx_TagTile_tooltip" label={name} /> :
|
<Tooltip className="mx_TagTile_tooltip" label={name} /> :
|
||||||
<div />);
|
<div />);
|
||||||
return (
|
return (
|
||||||
<AccessibleButton className={className} onClick={this.onClick}>
|
<AccessibleButton className={className} onClick={this.onClick}>
|
||||||
|
|||||||
Reference in New Issue
Block a user