message: fix(image): don't load image if src is not defined
diff: @@ -8,6 +8,9 @@ export const useHasImageLoaded = ({ src, onLoad, onError }) => {
  const [hasLoaded, setHasLoaded] = useState(false);
  useEffect(() => {
  + if (!src) {
  + return;
  + }
  const image = new window.Image();
  image.src = src;
  