Commit d116850c authored by Arun Kumar's avatar Arun Kumar
Browse files

added log on admin login page

No related merge requests found
Showing with 1 addition and 0 deletions
+1 -0
......@@ -26,6 +26,7 @@ const AdminLogin = () => {
} = useForm();
useEffect(() => {
console.log("checking login ........")
// Check if user is already logged in (e.g., using your authentication logic)
const checkLoggedInStatus = () => {
const isAuthenticated = getCookie("userData");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment