Resolve couple of React warnings/errors
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
67193b0ea7
commit
0e42fc45e2
|
@ -62,7 +62,8 @@ export default class AccessibleTooltipButton extends React.PureComponent<IToolti
|
||||||
};
|
};
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const {title, tooltip, children, tooltipClassName, ...props} = this.props;
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
|
const {title, tooltip, children, tooltipClassName, forceHide, ...props} = this.props;
|
||||||
|
|
||||||
const tip = this.state.hover ? <Tooltip
|
const tip = this.state.hover ? <Tooltip
|
||||||
className="mx_AccessibleTooltipButton_container"
|
className="mx_AccessibleTooltipButton_container"
|
||||||
|
|
|
@ -437,6 +437,7 @@ export default class MessageComposer extends React.Component {
|
||||||
const canEndConf = WidgetUtils.canUserModifyWidgets(this.props.room.roomId);
|
const canEndConf = WidgetUtils.canUserModifyWidgets(this.props.room.roomId);
|
||||||
controls.push(
|
controls.push(
|
||||||
<HangupButton
|
<HangupButton
|
||||||
|
key="controls_hangup"
|
||||||
roomId={this.props.room.roomId}
|
roomId={this.props.room.roomId}
|
||||||
isConference={true}
|
isConference={true}
|
||||||
canEndConference={canEndConf}
|
canEndConference={canEndConf}
|
||||||
|
|
Loading…
Reference in New Issue