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