diff --git a/src/app/ShareSite/WeeklyPage.tsx b/src/app/ShareSite/WeeklyPage.tsx index 8be68a249..e803c8ab5 100644 --- a/src/app/ShareSite/WeeklyPage.tsx +++ b/src/app/ShareSite/WeeklyPage.tsx @@ -13,6 +13,7 @@ import { Typography, message, Tooltip, + Image, } from "antd"; import React, { useEffect, useState } from "react"; import * as graphql from "@/generated/graphql"; @@ -104,10 +105,16 @@ const WeeklyPage: React.FC = ({ mode, user }) => { const [url, setUrl] = useState("/android-chrome-192x192.png"); fetch_img(props.src, setUrl); return ( - weekly cover { const w = window.open("loading"); if (w != null) w.location.href = props.src; @@ -327,25 +334,22 @@ const WeeklyPage: React.FC = ({ mode, user }) => { /> -