fix: no need to pointerEvents: none if svg have no name

fix: modified unrelated file
This commit is contained in:
Mauricio Navarro Miranda 2020-08-21 01:14:45 -05:00 committed by Josh Harvey
parent eb9acc32f2
commit a32aca40b2
7 changed files with 5 additions and 22 deletions

View file

@ -7,9 +7,6 @@ import baseButtonStyles from './BaseButton.styles'
const { baseButton, primary } = baseButtonStyles
const styles = {
preventDefaultTooltip: {
pointerEvents: 'none'
},
featureButton: {
extend: baseButton,
width: baseButton.height,
@ -47,7 +44,7 @@ const FeatureButton = memo(
<button className={classnames(classNames, className)} {...props}>
{Icon && (
<div className={classes.buttonIcon}>
<Icon className={classes.preventDefaultTooltip} />
<Icon />
</div>
)}
{InverseIcon && (