diff options
Diffstat (limited to 'src/components/ui/Input.js')
-rw-r--r-- | src/components/ui/Input.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/ui/Input.js b/src/components/ui/Input.js index 335367f03..43fab10ee 100644 --- a/src/components/ui/Input.js +++ b/src/components/ui/Input.js | |||
@@ -42,7 +42,7 @@ class Input extends Component { | |||
42 | passwordScore: 0, | 42 | passwordScore: 0, |
43 | }; | 43 | }; |
44 | 44 | ||
45 | inputElement = null; | 45 | inputElement; |
46 | 46 | ||
47 | componentDidMount() { | 47 | componentDidMount() { |
48 | if (this.props.focus) { | 48 | if (this.props.focus) { |
@@ -133,10 +133,10 @@ class Input extends Component { | |||
133 | {/* <progress value={this.state.passwordScore} max="100" /> */} | 133 | {/* <progress value={this.state.passwordScore} max="100" /> */} |
134 | <meter | 134 | <meter |
135 | value={passwordScore < 5 ? 5 : passwordScore} | 135 | value={passwordScore < 5 ? 5 : passwordScore} |
136 | low="30" | 136 | low={30} |
137 | high="75" | 137 | high={75} |
138 | optimum="100" | 138 | optimum={100} |
139 | max="100" | 139 | max={100} |
140 | /> | 140 | /> |
141 | </div> | 141 | </div> |
142 | )} | 142 | )} |