From 30a891a83ce4bbbbaa6f6f3a13d2031b0a58188f Mon Sep 17 00:00:00 2001 From: vantezzen Date: Thu, 22 Aug 2019 21:40:07 +0200 Subject: Fix eslint errors --- src/components/ui/Input.js | 2 +- src/components/ui/PremiumFeatureContainer/index.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src/components/ui') diff --git a/src/components/ui/Input.js b/src/components/ui/Input.js index 9b070c4df..4e3eb4ab8 100644 --- a/src/components/ui/Input.js +++ b/src/components/ui/Input.js @@ -68,7 +68,7 @@ export default @observer class Input extends Component { const { passwordScore } = this.state; - let type = field.type; + let { type } = field; if (type === 'password' && this.state.showPassword) { type = 'text'; } diff --git a/src/components/ui/PremiumFeatureContainer/index.js b/src/components/ui/PremiumFeatureContainer/index.js index 08553b32a..b890b09ab 100644 --- a/src/components/ui/PremiumFeatureContainer/index.js +++ b/src/components/ui/PremiumFeatureContainer/index.js @@ -45,7 +45,6 @@ class PremiumFeatureContainer extends Component { actions, condition, stores, - gaEventInfo, } = this.props; const { intl } = this.context; -- cgit v1.2.3-70-g09d2