Selaa lähdekoodia

Modernize file browser utils.

Afshin Darian 8 vuotta sitten
vanhempi
commit
c2df405249
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      src/filebrowser/utils.ts

+ 2 - 2
src/filebrowser/utils.ts

@@ -3,7 +3,7 @@
 
 import {
   Widget
-} from 'phosphor-widget';
+} from 'phosphor/lib/ui/widget';
 
 import {
   okButton, showDialog
@@ -57,5 +57,5 @@ function showErrorMessage(host: Widget, title: string, error: Error): Promise<vo
     buttons: [okButton],
     okText: 'DISMISS'
   };
-  return showDialog(options).then(() => {});
+  return showDialog(options).then(() => { /* no-op */ });
 }