undo changes which are no longer needed
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
							parent
							
								
									507d493b60
								
							
						
					
					
						commit
						9c5f7492e3
					
				|  | @ -24,7 +24,6 @@ import Tooltip from './Tooltip'; | |||
| 
 | ||||
| interface ITooltipProps extends IProps { | ||||
|     title: string; | ||||
|     tooltip?: React.ReactNode; | ||||
|     tooltipClassName?: string; | ||||
| } | ||||
| 
 | ||||
|  | @ -53,7 +52,7 @@ export default class AccessibleTooltipButton extends React.PureComponent<IToolti | |||
|     }; | ||||
| 
 | ||||
|     render() { | ||||
|         const {title, children, tooltip, ...props} = this.props; | ||||
|         const {title, children, ...props} = this.props; | ||||
|         const tooltipClassName = classnames( | ||||
|             "mx_AccessibleTooltipButton_tooltip", | ||||
|             this.props.tooltipClassName, | ||||
|  | @ -62,7 +61,7 @@ export default class AccessibleTooltipButton extends React.PureComponent<IToolti | |||
|         const tip = this.state.hover ? <Tooltip | ||||
|             className="mx_AccessibleTooltipButton_container" | ||||
|             tooltipClassName={tooltipClassName} | ||||
|             label={tooltip || title} | ||||
|             label={title} | ||||
|         /> : <div />; | ||||
|         return ( | ||||
|             <AccessibleButton {...props} onMouseOver={this.onMouseOver} onMouseOut={this.onMouseOut} aria-label={title}> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Michael Telatynski
						Michael Telatynski