function handleDownloadImage()

in packages/secure-static-site-frontend/src/ResourcesTable.tsx [92:99]


  function handleDownloadImage(url: string) {
    const key = "image";
    dispatch({ type: "request", key });
    const img = document.createElement("img");
    img.onload = () => dispatch({ type: "response", key, status: "200" });
    img.onerror = () => dispatch({ type: "response", key, status: "Blocked" });
    img.src = url;
  }