Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2797 from matrix-org/dbkr/fix_tag_panel
Browse files Browse the repository at this point in the history
Fix the custom tag panel
  • Loading branch information
dbkr authored Mar 15, 2019
2 parents 5409db4 + 346919e commit ac48ed8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/structures/CustomRoomTagPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class CustomRoomTagTile extends React.Component {
render() {
const BaseAvatar = sdk.getComponent('avatars.BaseAvatar');
const AccessibleButton = sdk.getComponent('elements.AccessibleButton');
const RoomTooltip = sdk.getComponent('rooms.RoomTooltip');
const Tooltip = sdk.getComponent('rooms.Tooltip');

const tag = this.props.tag;
const avatarHeight = 40;
Expand All @@ -103,7 +103,7 @@ class CustomRoomTagTile extends React.Component {
}

const tip = (this.state.hover ?
<RoomTooltip className="mx_TagTile_tooltip" label={name} /> :
<Tooltip className="mx_TagTile_tooltip" label={name} /> :
<div />);
return (
<AccessibleButton className={className} onClick={this.onClick}>
Expand Down

0 comments on commit ac48ed8

Please sign in to comment.