diff options
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; |