Call async inside Hock:

React.useEffect(() => {
   const fetchData = async()=> {
      const data = await loadPersonPhotoFromServer(person.photo.name, 'image/jpeg', person.photo.name);
   };
   fetchData();
}, [_person]);