GyDi 3 лет назад
Родитель
Сommit
2ad771e7fd
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/components/profile/file-editor.tsx

+ 1 - 0
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());
     }