diff --git a/src/layout/MainLayout/Header/HeaderContent/Profile/ProfileTab.js b/src/layout/MainLayout/Header/HeaderContent/Profile/ProfileTab.js index 672c66e..482ed5f 100644 --- a/src/layout/MainLayout/Header/HeaderContent/Profile/ProfileTab.js +++ b/src/layout/MainLayout/Header/HeaderContent/Profile/ProfileTab.js @@ -68,16 +68,16 @@ const ProfileTab = () => { if(isObjEmpty(userData)){ navigate('/login'); } - axios.get(`${apiPath}${GET_USER_REMINDER_FLAG}/${userData.id}`) - .then((response) => { - if (response.status === 200) { - setIsReceiveNotification(response.data.isReminder); - } - }) - .catch(error => { - console.log(error); - return false; - }); + // axios.get(`${apiPath}${GET_USER_REMINDER_FLAG}/${userData.id}`) + // .then((response) => { + // if (response.status === 200) { + // setIsReceiveNotification(response.data.isReminder); + // } + // }) + // .catch(error => { + // console.log(error); + // return false; + // }); }, []); const handleSwitchToggle = () => { @@ -115,7 +115,7 @@ const ProfileTab = () => { } - handleListItemClick(event, 1)}> + {/* handleListItemClick(event, 1)}> @@ -123,7 +123,7 @@ const ProfileTab = () => { - + */}