diff --git a/src/components/structures/RoomSubList.js b/src/components/structures/RoomSubList.js index 8445da343a..fa74180a2c 100644 --- a/src/components/structures/RoomSubList.js +++ b/src/components/structures/RoomSubList.js @@ -238,7 +238,7 @@ const RoomSubList = React.createClass({ ); } diff --git a/src/components/views/elements/AccessibleTooltipButton.js b/src/components/views/elements/AccessibleTooltipButton.js index 0b632417d6..6f7913a3cd 100644 --- a/src/components/views/elements/AccessibleTooltipButton.js +++ b/src/components/views/elements/AccessibleTooltipButton.js @@ -24,7 +24,8 @@ import sdk from "../../../index"; export default class AccessibleTooltipButton extends React.PureComponent { static propTypes = { ...AccessibleButton.propTypes, - tooltip: PropTypes.string.isRequired, + // The tooltip to render on hover + title: PropTypes.string.isRequired, }; state = { @@ -47,12 +48,12 @@ export default class AccessibleTooltipButton extends React.PureComponent { const Tooltip = sdk.getComponent("elements.Tooltip"); const AccessibleButton = sdk.getComponent("elements.AccessibleButton"); - const {tooltip, ...props} = this.props; + const {title, ...props} = this.props; const tip = this.state.hover ? :
; return (