From 8b8a1548e134d2a909ca1d4a5aa8d01741ac1dc2 Mon Sep 17 00:00:00 2001 From: Ebube Date: Sun, 16 Apr 2023 19:05:53 +0100 Subject: [PATCH] login err msg --- .env | 2 +- src/app/modules/auth/components/Login.tsx | 15 ++++++++++++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.env b/.env index 69244f5..36d4485 100644 --- a/.env +++ b/.env @@ -2,7 +2,7 @@ PUBLIC_URL=http://localhost:3000/ PORT=3000 PRIMARY_APP_API_URL=https://preview.keenthemes.com/metronic8/laravel/api REACT_APP_BASE_LAYOUT_CONFIG_KEY='metronic-react-demo1-8150' -REACT_APP_API_URL=https://preview.keenthemes.com/metronic8/laravel/api +REACT_APP_API_URL=https://float-gat.dev.chiefsoft.net/en/userweb/api/v1 REACT_APP_VERSION=v8.1.5 REACT_APP_THEME_NAME=WrenchBoard REACT_APP_THEME_DEMO=dashboard diff --git a/src/app/modules/auth/components/Login.tsx b/src/app/modules/auth/components/Login.tsx index a4b8b56..e458b2c 100644 --- a/src/app/modules/auth/components/Login.tsx +++ b/src/app/modules/auth/components/Login.tsx @@ -22,8 +22,8 @@ const loginSchema = Yup.object().shape({ }) const initialValues = { - email: 'johndoe@email.com', - password: '****', + email: '', + password: '', } /* @@ -121,11 +121,19 @@ export function Login() { {/* end::Separator */} + {formik.status ? ( +
+
{formik.status}
+
+ ) : ( + null + )} + {/* begin::Form group */}
Password