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