]> BookStack Code Mirror - bookstack/blobdiff - resources/js/components/confirm-dialog.js
Fixed failing references after controller/file reshuffle
[bookstack] / resources / js / components / confirm-dialog.js
index 2a3b6e776605687f0350057ac5bbb7f3e50f7dcc..184618fccfad9928cca02f81f3450b61fbe21ebe 100644 (file)
@@ -25,7 +25,7 @@ export class ConfirmDialog extends Component {
             this.sendResult(false);
         });
 
-        return new Promise((res, rej) => {
+        return new Promise(res => {
             this.res = res;
         });
     }