fix: adjust notice

This commit is contained in:
GyDi committed 2022-05-17 00:51:37 +08:00
1 parent 0070ec09a2
commit e7b19a5f66
3 files changed
+4 -3

No files matched your search

+1
View File
@@ -122,6 +122,7 @@ const ProfilePage = () => {
try {
await selectProfile(uid);
mutate("getProfiles", { ...profiles, current: uid }, true);
if (force) Notice.success("Refresh clash config", 1000);
} catch (err: any) {
Notice.error(err?.message || err.toString());
}