Skip to content

Commit

Permalink
PasswordInput [nfc]: Remove unused this.textInput.
Browse files Browse the repository at this point in the history
It looks like this was meant to store a ref to `Input`'s `TextInput`
component, but it isn't doing that (or anything else). Might as well
remove it, then.
  • Loading branch information
chrisbobbe committed Sep 2, 2020
1 parent b3a3ce8 commit 90c5994
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/common/PasswordInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ export default class PasswordInput extends PureComponent<Props, State> {
state = {
isHidden: true,
};
textInput: TextInput;

handleShow = () => {
this.setState(({ isHidden }) => ({
Expand Down

0 comments on commit 90c5994

Please sign in to comment.