fix: login page not working

This commit is contained in:
Prayag Prajapati committed 2024-07-22 18:59:17 +05:30
1 parent a5ca2ff9bb
commit ffbca70de3
8 files changed
+76 -143

No files matched your search

+1 -1
View File
@@ -84,7 +84,7 @@ function LoginUser() {
await saveUser(userName, user.data.AccessToken);
}
setLoading(false);
navigate("/home");
navigate({ to: "/home" });
};
useLayoutEffect(() => {