瀏覽代碼

remove unnecessary async

Yana Rose 4 年之前
父節點
當前提交
859b44154d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/viewer/index.ts

+ 1 - 1
src/viewer/index.ts

@@ -257,7 +257,7 @@ export class Viewer {
         this.plugin.layout.events.updated.next();
     }
 
-    async exportLoadedStructures() {
+    exportLoadedStructures() {
         const content = encodeStructureData(this.plugin);
         downloadAsZipFile(content);
     }