message: fix(image): add `isMounted` check on `Image` component
diff: /** @jsx jsx */
  import { jsx } from "@emotion/core";
  -import { useEffect, useState, forwardRef } from "react";
  +import { useEffect, useState, forwardRef, useRef } from "react";
  import Box from "../Box";
  export const useHasImageLoaded = ({ src, onLoad, onError }) => {
  + const isMounted = useRef(true);
  const [hasLoaded, setHasLoaded] = useState(false);
  useEffect(() => {
  @@ -11,16 +12,26 @@ export const useHasImageLoaded = ({ src, onLoad, onError }) => {
  image.src = src;
  image.onload = event => {
  + if (isMounted.current) {
  setHasLoaded(true);
  onLoad && onLoad(event);
  + }
  };
  image.onError = event => {
  + if (isMounted.current) {
  setHasLoaded(false);
  onError && onError(event);
  + }
  };
  }, [src, onLoad, onError]);
  + useEffect(() => {
  + return () => {
  + isMounted.current = false;
  + };
  + }, []);
  +
  return hasLoaded;
  };
  