fixed some ui
This commit is contained in:
@@ -43,8 +43,8 @@ export default function LoginScreen() {
|
||||
}, [fadeAnim, slideAnim]);
|
||||
|
||||
const { refetch: sendOtp, isFetching: loading } = useFetch<any>(
|
||||
LOGIN_URL,
|
||||
{ mobile },
|
||||
LOGIN_URL + mobile,
|
||||
{},
|
||||
{
|
||||
enabled: false,
|
||||
retry: false,
|
||||
@@ -100,6 +100,7 @@ export default function LoginScreen() {
|
||||
value={mobile}
|
||||
onChangeText={(text) => {
|
||||
setMobile(text.replace(/\D/g, ''));
|
||||
|
||||
if (error) setError('');
|
||||
}}
|
||||
keyboardType="phone-pad"
|
||||
|
||||
Reference in New Issue
Block a user