fix: adjust notice

This commit is contained in:
GyDi 2022-11-19 01:24:07 +08:00
parent 9d2017e598
commit e19fe5ce1c
No known key found for this signature in database
GPG Key ID: 9C3AD40F1F99880A

View File

@ -133,9 +133,9 @@ const ProfilePage = () => {
setCurrentProfile(current);
mutate("getProfiles", { ...profiles, current: current }, true);
mutate("getRuntimeLogs");
// if (force) Notice.success("Refresh clash config", 1000);
Notice.success("Refresh clash config", 1000);
} catch (err: any) {
Notice.error(err?.message || err.toString());
Notice.error(err?.message || err.toString(), 4000);
}
});