diff --git a/src/components/Icon/index.js b/src/components/Icon/index.js index 52300b35..7773a6d3 100644 --- a/src/components/Icon/index.js +++ b/src/components/Icon/index.js @@ -13,7 +13,6 @@ type Props = { size?: number, isActive?: boolean, color?: string, - viewBox?: string, onMouseEnter?: () => void, onMouseLeave?: () => void, onFocus?: () => void, @@ -67,7 +66,6 @@ const Icon = ({ icon, size = 32, color = colors.TEXT_SECONDARY, - viewBox = '0 0 1024 1024', isActive, canAnimate, hoverColor, @@ -88,7 +86,7 @@ const Icon = ({ }} width={`${size}`} height={`${size}`} - viewBox={viewBox} + viewBox="0 0 1024 1024" onMouseEnter={onMouseEnter} onMouseLeave={onMouseLeave} onFocus={onFocus} @@ -113,7 +111,6 @@ Icon.propTypes = { size: PropTypes.number, isActive: PropTypes.bool, color: PropTypes.string, - viewBox: PropTypes.string, onMouseEnter: PropTypes.func, onMouseLeave: PropTypes.func, onFocus: PropTypes.func, diff --git a/src/views/Wallet/components/LeftNavigation/components/DeviceMenu/components/MenuItems/index.js b/src/views/Wallet/components/LeftNavigation/components/DeviceMenu/components/MenuItems/index.js index 9e657649..1d1d3235 100644 --- a/src/views/Wallet/components/LeftNavigation/components/DeviceMenu/components/MenuItems/index.js +++ b/src/views/Wallet/components/LeftNavigation/components/DeviceMenu/components/MenuItems/index.js @@ -60,9 +60,8 @@ class MenuItems extends PureComponent { {this.showClone() && ( this.props.duplicateDevice(device)}>