fix: adjust notice
This commit is contained in:
parent
9d2017e598
commit
e19fe5ce1c
@ -133,9 +133,9 @@ const ProfilePage = () => {
|
|||||||
setCurrentProfile(current);
|
setCurrentProfile(current);
|
||||||
mutate("getProfiles", { ...profiles, current: current }, true);
|
mutate("getProfiles", { ...profiles, current: current }, true);
|
||||||
mutate("getRuntimeLogs");
|
mutate("getRuntimeLogs");
|
||||||
// if (force) Notice.success("Refresh clash config", 1000);
|
Notice.success("Refresh clash config", 1000);
|
||||||
} catch (err: any) {
|
} catch (err: any) {
|
||||||
Notice.error(err?.message || err.toString());
|
Notice.error(err?.message || err.toString(), 4000);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user