fix: adjust notice

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

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());
}