Skip to content
Snippets Groups Projects
Unverified Commit 2ad771e7 authored by GyDi's avatar GyDi
Browse files

fix: close dialog after save

parent 5a384681
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,7 @@ const FileEditor = (props: Props) => {
try {
await saveProfileFile(uid, value);
onChange?.();
onClose();
} catch (err: any) {
Notice.error(err.message || err.toString());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment