diff --git a/app/renderer/src/main/src/components/layout/FuncDomain.tsx b/app/renderer/src/main/src/components/layout/FuncDomain.tsx index ffa5636afb..9535297c5a 100644 --- a/app/renderer/src/main/src/components/layout/FuncDomain.tsx +++ b/app/renderer/src/main/src/components/layout/FuncDomain.tsx @@ -1627,7 +1627,7 @@ const UIOpNotice: React.FC = React.memo((props) => { if (isCommunityEdition()) visitorsStatisticsFun() grpcFetchLatestYakitVersion(true) .then((data: string) => { - setYakitLastVersion(data) + // setYakitLastVersion(data) }) .catch(() => { setYakitLastVersion("") @@ -1834,7 +1834,7 @@ const UIOpNotice: React.FC = React.memo((props) => { {type === "update" && (
- = React.memo((props) => { role={userInfo.role} updateContent={communityYakit} onUpdateEdit={UpdateContentEdit} - /> + /> */} = memo( grpcFetchLatestYakitVersion(true) .then((data) => { if (preventUpdateHint.current) return - setLatestYakit(data || "") + // setLatestYakit(data || "") }) .catch((err) => {}) grpcFetchLatestYakVersion(true)