mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-20 07:38:32 +08:00
fix: close dialog after save
This commit is contained in:
1 parent
4c53e6e89d
commit
a436ef2126
1 file changed
+1
@@ -71,6 +71,7 @@ const FileEditor = (props: Props) => {
|
||||
try {
|
||||
await saveProfileFile(uid, value);
|
||||
onChange?.();
|
||||
onClose();
|
||||
} catch (err: any) {
|
||||
Notice.error(err.message || err.toString());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user