Archived
temp fix
This commit is contained in:
@@ -41,9 +41,9 @@ const Login: React.FC = () => {
|
||||
// setErrMsg('');
|
||||
// }, [user, pwd])
|
||||
|
||||
store.dispatch(fetchMeetings(logedInUser));
|
||||
store.dispatch(fetchUsers(logedInUser));
|
||||
store.dispatch(fetchFavorites(logedInUser));
|
||||
store.dispatch(fetchMeetings("")); // temp fix
|
||||
store.dispatch(fetchUsers("")); // temp fix
|
||||
store.dispatch(fetchFavorites("")); // temp fix
|
||||
|
||||
const handleLogin = async(e: React.SyntheticEvent) => {
|
||||
e.preventDefault();
|
||||
@@ -71,7 +71,7 @@ const Login: React.FC = () => {
|
||||
if (logedInUserId != undefined) {
|
||||
setAuth["email"] = email;
|
||||
setAuth["isLoggedIn"] = true;
|
||||
setLogedInUser(logedInUserId);
|
||||
// setLogedInUser(logedInUserId);
|
||||
navigate(from, { replace: true });
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user