mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 21:23:45 +08:00
fix: close dialog after save
This commit is contained in:
parent
5a38468144
commit
2ad771e7fd
@ -71,6 +71,7 @@ const FileEditor = (props: Props) => {
|
||||
try {
|
||||
await saveProfileFile(uid, value);
|
||||
onChange?.();
|
||||
onClose();
|
||||
} catch (err: any) {
|
||||
Notice.error(err.message || err.toString());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user