chore: rm success notice
This commit is contained in:
@@ -292,7 +292,6 @@ export const HomeProfileCard = ({
|
||||
setUpdating(true);
|
||||
try {
|
||||
await updateProfile(current.uid, current.option);
|
||||
showNotice("success", t("Update subscription successfully"), 1000);
|
||||
onProfileUpdated?.();
|
||||
|
||||
// 刷新首页数据
|
||||
|
||||
@@ -333,7 +333,6 @@ export const ProfileItem = (props: Props) => {
|
||||
await updateProfile(itemData.uid, option);
|
||||
|
||||
// 更新成功,刷新列表
|
||||
showNotice("success", t("Update subscription successfully"));
|
||||
mutate("getProfiles");
|
||||
} catch {
|
||||
// 更新完全失败(包括后端的回退尝试)
|
||||
|
||||
Reference in New Issue
Block a user