diff options
| author | anderklander <anderklander@gmail.com> | 2018-03-26 12:28:12 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-03-26 14:22:11 +0200 |
| commit | c3dde05d7b5d62818c9042f5ed8b7783bca090ca (patch) | |
| tree | b3f026fc7d979e5a2641ce18edfbcd74d3e52155 /app/components | |
| parent | ee421d5a90e9a8a98817304573bcb973fb4aab76 (diff) | |
| download | mullvadvpn-c3dde05d7b5d62818c9042f5ed8b7783bca090ca.tar.xz mullvadvpn-c3dde05d7b5d62818c9042f5ed8b7783bca090ca.zip | |
Img lint fix
Diffstat (limited to 'app/components')
| -rw-r--r-- | app/components/Img.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/components/Img.js b/app/components/Img.js index 418149d2dc..d124eb7f49 100644 --- a/app/components/Img.js +++ b/app/components/Img.js @@ -1,6 +1,6 @@ // @flow import * as React from 'react'; -import { View, Component, Styles, Types } from 'reactxp'; +import { View, Component, Types } from 'reactxp'; type ImgProps = { source: string, @@ -21,7 +21,7 @@ export default class Img extends Component<ImgProps, State> { getHoverStyle = () => this.state.hovered ? this.props.hoverStyle || null : null; render() { - const { source, disabled, style, onMouseEnter, onMouseLeave, ...otherProps } = this.props; + const { source, style, onMouseEnter, onMouseLeave, ...otherProps } = this.props; const tintColor = this.props.tintColor; const url = './assets/images/' + source + '.svg'; let image; |
