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