diff options
author | Justin Shillingford <jgs272@cornell.edu> | 2020-06-29 18:58:22 -0400 |
---|---|---|
committer | Justin Shillingford <jgs272@cornell.edu> | 2020-06-29 18:58:22 -0400 |
commit | 56d51741cfcbfae55fc40a29e5d4a8112f9c8e6b (patch) | |
tree | 7a718d66f2f0108a0b8784eaf06292c74ebc04ba | |
parent | 8f478fa2e1d4d2b1361a575bd80a928038741ee9 (diff) |
Forgot to update to the placeholder 😅
-rw-r--r-- | src/components/common/LoginInput.tsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/components/common/LoginInput.tsx b/src/components/common/LoginInput.tsx index dae3241c..e0d2118a 100644 --- a/src/components/common/LoginInput.tsx +++ b/src/components/common/LoginInput.tsx @@ -20,7 +20,13 @@ const LoginInput = (props: LoginInputProps) => { : undefined } style={styles.credentials} - placeholder={props.isUsername ? 'Username' : 'Password'} + placeholder={ + props.isUsername + ? 'Username' + : props.isPassword + ? 'Password' + : undefined + } placeholderTextColor="#FFFFFF" autoCompleteType={ props.isUsername ? 'username' : props.isPassword ? 'password' : 'off' |