From 94f966fb947262405130488cbe84cabfc2989fb2 Mon Sep 17 00:00:00 2001 From: Justin Shillingford Date: Mon, 29 Jun 2020 16:25:14 -0400 Subject: Removed TextInput focus code for now Also miscellaneous code cleanup --- src/components/common/LoginInput.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components') diff --git a/src/components/common/LoginInput.tsx b/src/components/common/LoginInput.tsx index ca33db92..55d2e662 100644 --- a/src/components/common/LoginInput.tsx +++ b/src/components/common/LoginInput.tsx @@ -26,7 +26,7 @@ const LoginInput = (props: LoginInputProps) => { blurOnSubmit={props.isUsername ? false : undefined} // ref={props.isUsername ? undefined : useRef()} secureTextEntry={props.isUsername ? false : true} - focus={props.isUsername ? undefined : props.focusPasswordInput} + // focus={props.isUsername ? undefined : props.focusPasswordInput} /> ); }; @@ -51,7 +51,7 @@ LoginInput.propTypes = { isUsername: PropTypes.bool.isRequired, onChangeText: PropTypes.func.isRequired, onSubmitEditing: PropTypes.func, - ref: PropTypes.any, +// ref: PropTypes.any, focusPasswordInput: PropTypes.bool, }; -- cgit v1.2.3-70-g09d2