Merge pull request #53 from apuc/partner-personal-area
partner-personal-area
This commit is contained in:
commit
b568ec699e
@ -64,6 +64,9 @@ export const ProfileHeader = () => {
|
||||
const [isLoggingOut, setIsLoggingOut] = useState(false);
|
||||
|
||||
useEffect(() => {
|
||||
if (localStorage.getItem('role_status') === '18') {
|
||||
return
|
||||
}
|
||||
apiRequest(`/profile/${localStorage.getItem('cardId')}`)
|
||||
.then((profileInfo) =>
|
||||
dispatch(setProfileInfo(profileInfo))
|
||||
|
Loading…
Reference in New Issue
Block a user