From 537a3000b692bac5b7a1d14c884f8a92d3c9bfa9 Mon Sep 17 00:00:00 2001 From: Slinetrac Date: Mon, 13 Oct 2025 19:04:40 +0800 Subject: [PATCH] chore: rm success notice --- src/components/home/home-profile-card.tsx | 1 - src/components/profile/profile-item.tsx | 1 - 2 files changed, 2 deletions(-) diff --git a/src/components/home/home-profile-card.tsx b/src/components/home/home-profile-card.tsx index 14f77192..812debe0 100644 --- a/src/components/home/home-profile-card.tsx +++ b/src/components/home/home-profile-card.tsx @@ -292,7 +292,6 @@ export const HomeProfileCard = ({ setUpdating(true); try { await updateProfile(current.uid, current.option); - showNotice("success", t("Update subscription successfully"), 1000); onProfileUpdated?.(); // 刷新首页数据 diff --git a/src/components/profile/profile-item.tsx b/src/components/profile/profile-item.tsx index 876466fb..63a720c4 100644 --- a/src/components/profile/profile-item.tsx +++ b/src/components/profile/profile-item.tsx @@ -333,7 +333,6 @@ export const ProfileItem = (props: Props) => { await updateProfile(itemData.uid, option); // 更新成功,刷新列表 - showNotice("success", t("Update subscription successfully")); mutate("getProfiles"); } catch { // 更新完全失败(包括后端的回退尝试)