Move export dialog to async-components
This commit is contained in:
parent
7207329c15
commit
31c9e5962c
7 changed files with 28 additions and 52 deletions
|
@ -33,9 +33,9 @@ export default class PlainTextExporter extends Exporter {
|
|||
room: Room,
|
||||
exportType: ExportType,
|
||||
exportOptions: IExportOptions,
|
||||
exportProgressRef: MutableRefObject<HTMLParagraphElement>,
|
||||
setProgressText: React.Dispatch<React.SetStateAction<string>>,
|
||||
) {
|
||||
super(room, exportType, exportOptions, exportProgressRef);
|
||||
super(room, exportType, exportOptions, setProgressText);
|
||||
this.totalSize = 0;
|
||||
this.mediaOmitText = !this.exportOptions.attachmentsIncluded
|
||||
? _t("Media omitted")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue