Fixed calendar and req profile
This commit is contained in:
@ -73,8 +73,8 @@ export const Navigation = () => {
|
||||
if (localStorage.getItem("role_status") === "18") {
|
||||
return;
|
||||
}
|
||||
apiRequest(`/profile/${localStorage.getItem("cardId")}`).then(
|
||||
(profileInfo) => dispatch(setProfileInfo(profileInfo))
|
||||
apiRequest(`/user/me`).then((profileInfo) =>
|
||||
dispatch(setProfileInfo(profileInfo.userCard))
|
||||
);
|
||||
}, [dispatch]);
|
||||
|
||||
|
Reference in New Issue
Block a user