Josh Hamet 4 سال پیش
والد
کامیت
84c92c1594
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      packages/apputils/src/dialog.tsx

+ 1 - 1
packages/apputils/src/dialog.tsx

@@ -155,7 +155,7 @@ export class Dialog<T> extends Widget {
     return promises.then(() => {
       // Do not show Dialog if it was disposed of before it was at the front of the launch queue
       if (!this._promise) {
-        return Promise.resolve({button: Dialog.cancelButton(), value: null});
+        return Promise.resolve({ button: Dialog.cancelButton(), value: null });
       }
       Widget.attach(this, this._host);
       return promise.promise;