Skip to content

Commit

Permalink
login screen fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
vibhorarya12 committed Aug 10, 2024
1 parent 0dcd0c5 commit 52c600c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/screens/Login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { Alert, Dimensions, Image, SafeAreaView, ScrollView, StyleSheet, Text, T
import { theme_color, theme_primary, URL } from "../../constants";
import { Logo_img } from "../../../assets/Images";

import { TextInput } from 'react-native-paper';
import { useNavigation } from "@react-navigation/native";
import { IconButton, TextInput } from 'react-native-paper';
import { CommonActions, useNavigation } from "@react-navigation/native";

import { useDispatch, useSelector } from "react-redux";
import { guestLogin } from "../../../redux/Actions/authActions";
Expand All @@ -21,7 +21,7 @@ const color = [ "#090979", "#433eb6", "#433eb6"];
const Login = () => {
const [loading , setLoading] = useState(false);
const navigation = useNavigation();
const [phone, setPhone] = useState('5555555555');
const [phone, setPhone] = useState('');
const dispatch = useDispatch();
const guestLoginCheck :boolean = useSelector((state:any)=> state.auth.guestLogin);
const tenDigitRegex = /^\d{10}$/; // regular expression for phone validation"
Expand Down

0 comments on commit 52c600c

Please sign in to comment.