Skip to content

Commit a57a3b6

Browse files
committed
importing fix
1 parent bb50bf2 commit a57a3b6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/plugin.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { ICellFooterTracker } from 'jupyterlab-cell-input-footer';
1010

1111
import { IDiffWidgetOptions } from './widget';
1212
import { createCodeMirrorSplitDiffWidget } from './diff/cell';
13+
import { createCodeMirrorSplitFileWidget } from './diff/file';
1314
import {
1415
createUnifiedCellDiffView,
1516
UnifiedCellDiffManager
@@ -503,9 +504,6 @@ const splitFileDiffPlugin: JupyterFrontEndPlugin<void> = {
503504
return;
504505
}
505506

506-
// Create the split widget and add to main area
507-
const { createCodeMirrorSplitFileWidget } = await import('./diff/file');
508-
509507
const widget = await createCodeMirrorSplitFileWidget({
510508
fileEditorWidget,
511509
editor,

0 commit comments

Comments
 (0)