responsive and new date time picker
All checks were successful
Build and Release / release (push) Successful in 28s
All checks were successful
Build and Release / release (push) Successful in 28s
This commit is contained in:
@@ -63,14 +63,14 @@ export default function SignInForm() {
|
||||
|
||||
try {
|
||||
setLoading(true);
|
||||
|
||||
|
||||
const res = await apiSignIn(formData);
|
||||
// console.log("API Sign In Response:", res);
|
||||
|
||||
if (res.status === true) {
|
||||
toast.success("Đăng nhập thành công!");
|
||||
const data = await apiGetCurrentUser();
|
||||
|
||||
|
||||
// console.log("Current User Data:", data);
|
||||
if (data?.data) {
|
||||
dispatch(setUserData(data.data));
|
||||
@@ -89,7 +89,7 @@ export default function SignInForm() {
|
||||
|
||||
return (
|
||||
<div className="flex flex-col flex-1 lg:w-1/2 w-full">
|
||||
<div className="w-full max-w-md sm:pt-10 mx-auto mb-5">
|
||||
{/* <div className="w-full max-w-md sm:pt-10 mx-auto mb-5">
|
||||
<Link
|
||||
href="/"
|
||||
className="inline-flex items-center text-sm text-gray-500 transition-colors hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300"
|
||||
@@ -97,7 +97,7 @@ export default function SignInForm() {
|
||||
<ChevronLeftIcon />
|
||||
Back to dashboard
|
||||
</Link>
|
||||
</div>
|
||||
</div> */}
|
||||
<div className="flex flex-col justify-center flex-1 w-full max-w-md mx-auto">
|
||||
<div>
|
||||
<div className="mb-5 sm:mb-8">
|
||||
|
||||
Reference in New Issue
Block a user