summaryrefslogtreecommitdiffhomepage
path: root/app/components/Img.js
diff options
context:
space:
mode:
authoranderklander <anderklander@gmail.com>2018-02-15 14:05:28 +0100
committeranderklander <anderklander@gmail.com>2018-02-15 16:02:03 +0100
commit89eeb129f065d92a82393db2deca58c0c0f2ff38 (patch)
tree9d61e6b951139dfb061c1898b7eb0aab4c5e3e73 /app/components/Img.js
parent7ed21c2ae70a875029715d4d4c10a1c59508d6fa (diff)
downloadmullvadvpn-89eeb129f065d92a82393db2deca58c0c0f2ff38.tar.xz
mullvadvpn-89eeb129f065d92a82393db2deca58c0c0f2ff38.zip
Refactoring stuff, removed Icon
Diffstat (limited to 'app/components/Img.js')
-rw-r--r--app/components/Img.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/components/Img.js b/app/components/Img.js
index 8c8244fc38..c4fb7637d5 100644
--- a/app/components/Img.js
+++ b/app/components/Img.js
@@ -9,7 +9,8 @@ export default class Img extends Component {
};
render() {
- const { source, tintColor, ...otherProps } = this.props;
+ const { source, ...otherProps } = this.props;
+ const tintColor = this.props.tintColor;
const url = './assets/images/' + source + '.svg';
let image;