mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-19 20:35:41 +08:00
fix: reset value correctly
This commit is contained in:
1 parent
5b1fc0e6c0
commit
d599be7e7c
2 files changed
+9
-2
No files matched your search
@@ -104,8 +104,8 @@ const ProfilePage = () => {
|
||||
|
||||
try {
|
||||
await newProfile(name, desc);
|
||||
mutate("getProfiles");
|
||||
setDialogOpen(false);
|
||||
mutate("getProfiles");
|
||||
} catch (err: any) {
|
||||
err && Notice.error(err.toString());
|
||||
} finally {
|
||||
|
||||
Reference in new issue
Block a user