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