aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui/Input.js
diff options
context:
space:
mode:
authorLibravatar vantezzen <properly@protonmail.com>2019-08-22 21:40:07 +0200
committerLibravatar vantezzen <properly@protonmail.com>2019-08-22 21:40:07 +0200
commit30a891a83ce4bbbbaa6f6f3a13d2031b0a58188f (patch)
tree41dde64402f6a5ff93796ff5c541bf4dcf766542 /src/components/ui/Input.js
parentRe-adding package-lock (diff)
downloadferdium-app-30a891a83ce4bbbbaa6f6f3a13d2031b0a58188f.tar.gz
ferdium-app-30a891a83ce4bbbbaa6f6f3a13d2031b0a58188f.tar.zst
ferdium-app-30a891a83ce4bbbbaa6f6f3a13d2031b0a58188f.zip
Fix eslint errors
Diffstat (limited to 'src/components/ui/Input.js')
-rw-r--r--src/components/ui/Input.js2
1 files changed, 1 insertions, 1 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 }