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