diff --git a/src/components/profile/file-editor.tsx b/src/components/profile/file-editor.tsx
index 69c21a9aa9af91797c93798b03547615cb5e515e..2b36b62e7475e869ce2cde6e4135dd7adcf8cfe6 100644
--- a/src/components/profile/file-editor.tsx
+++ b/src/components/profile/file-editor.tsx
@@ -71,6 +71,7 @@ const FileEditor = (props: Props) => {
     try {
       await saveProfileFile(uid, value);
       onChange?.();
+      onClose();
     } catch (err: any) {
       Notice.error(err.message || err.toString());
     }