diff options
author | vantezzen <properly@protonmail.com> | 2019-08-22 21:40:07 +0200 |
---|---|---|
committer | vantezzen <properly@protonmail.com> | 2019-08-22 21:40:07 +0200 |
commit | 30a891a83ce4bbbbaa6f6f3a13d2031b0a58188f (patch) | |
tree | 41dde64402f6a5ff93796ff5c541bf4dcf766542 /src/components/ui | |
parent | Re-adding package-lock (diff) | |
download | ferdium-app-30a891a83ce4bbbbaa6f6f3a13d2031b0a58188f.tar.gz ferdium-app-30a891a83ce4bbbbaa6f6f3a13d2031b0a58188f.tar.zst ferdium-app-30a891a83ce4bbbbaa6f6f3a13d2031b0a58188f.zip |
Fix eslint errors
Diffstat (limited to 'src/components/ui')
-rw-r--r-- | src/components/ui/Input.js | 2 | ||||
-rw-r--r-- | src/components/ui/PremiumFeatureContainer/index.js | 1 |
2 files changed, 1 insertions, 2 deletions
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 { | |||
68 | 68 | ||
69 | const { passwordScore } = this.state; | 69 | const { passwordScore } = this.state; |
70 | 70 | ||
71 | let type = field.type; | 71 | let { type } = field; |
72 | if (type === 'password' && this.state.showPassword) { | 72 | if (type === 'password' && this.state.showPassword) { |
73 | type = 'text'; | 73 | type = 'text'; |
74 | } | 74 | } |
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 { | |||
45 | actions, | 45 | actions, |
46 | condition, | 46 | condition, |
47 | stores, | 47 | stores, |
48 | gaEventInfo, | ||
49 | } = this.props; | 48 | } = this.props; |
50 | 49 | ||
51 | const { intl } = this.context; | 50 | const { intl } = this.context; |