fix login form
This commit is contained in:
parent
0f9d84c137
commit
575ecf02d8
|
|
@ -232,7 +232,7 @@ const LoginForm = () => {
|
|||
profile?.data?.data?.roleId === 18 ||
|
||||
profile?.data?.data?.roleId === 2
|
||||
) {
|
||||
window.location.href = "/in/dashboard/executive";
|
||||
window.location.href = "/in/dashboard/executive-data";
|
||||
// router.push('/admin/dashboard');
|
||||
Cookies.set("status", "login", {
|
||||
expires: 1,
|
||||
|
|
@ -532,10 +532,10 @@ const LoginForm = () => {
|
|||
</div>
|
||||
|
||||
<Button
|
||||
type="submit"
|
||||
type="button"
|
||||
fullWidth
|
||||
// onClick={handleEmailValidation}
|
||||
// disabled={isPending}
|
||||
onClick={handleEmailValidation}
|
||||
disabled={isPending}
|
||||
>
|
||||
Selanjutnya
|
||||
</Button>
|
||||
|
|
|
|||
Loading…
Reference in New Issue