From 56d51741cfcbfae55fc40a29e5d4a8112f9c8e6b Mon Sep 17 00:00:00 2001 From: Justin Shillingford Date: Mon, 29 Jun 2020 18:58:22 -0400 Subject: Forgot to update to the placeholder 😅 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/LoginInput.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src') 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' -- cgit v1.2.3-70-g09d2