You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2026-01-04 05:29:27 +03:00
Remove unnecessary awaits
This commit is contained in:
@@ -92,8 +92,8 @@ export default abstract class Exporter {
|
||||
this.cancelled = true;
|
||||
}
|
||||
|
||||
protected async downloadPlainText(fileName: string, text: string): Promise<any> {
|
||||
await saveAs(new Blob[text], fileName);
|
||||
protected downloadPlainText(fileName: string, text: string) {
|
||||
saveAs(new Blob[text], fileName);
|
||||
}
|
||||
|
||||
protected setEventMetadata(event: MatrixEvent): MatrixEvent {
|
||||
|
||||
Reference in New Issue
Block a user