From 922a7397027340e3533ca4152cf6b268d863d1ba Mon Sep 17 00:00:00 2001 From: G Date: Mon, 1 Jul 2024 11:21:26 +0000 Subject: [PATCH] default value for quick login (doesn't show on the screen put pressing the button will send those values in the request). Will be removed. --- src/screens/UserLoginScreen.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/screens/UserLoginScreen.tsx b/src/screens/UserLoginScreen.tsx index 0a9ae8c..f5208eb 100644 --- a/src/screens/UserLoginScreen.tsx +++ b/src/screens/UserLoginScreen.tsx @@ -24,8 +24,9 @@ const UserLoginScreen: MainStackScreenComponentProps<"userLoginScreen"> = ({ nav const insets = useSafeAreaInsets(); const { setAuthenticationData, setUserInformations } = useUserAuthenticationContext(); - const [email, setEmail] = useState(""); - const [password, setPassword] = useState(""); + // TODO : Remove default value for email and password + const [email, setEmail] = useState("admin"); + const [password, setPassword] = useState("admin"); const [error, setError] = useState(""); const authenticationMutation = useMutation({ -- libgit2 0.27.1