fix login form

This commit is contained in:
Anang Yusman 2025-06-08 23:41:06 +08:00
parent 0f9d84c137
commit 575ecf02d8
1 changed files with 4 additions and 4 deletions

View File

@ -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>