Skip to content

Commit 4af39c3

Browse files
committed
fix build
1 parent 0a48031 commit 4af39c3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/diff/codemirror.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ export async function createCodeMirrorDiffWidget(
9191
cellFooterTracker,
9292
originalSource,
9393
newSource,
94+
trans,
9495
showActionButtons = true,
9596
openDiff = true
9697
} = options;
@@ -101,7 +102,8 @@ export async function createCodeMirrorDiffWidget(
101102
cell,
102103
cellFooterTracker,
103104
showActionButtons,
104-
openDiff
105+
openDiff,
106+
trans
105107
});
106108

107109
diffWidget.addClass('jupyterlab-cell-diff');

src/widget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ICellModel } from '@jupyterlab/cells';
2-
import { nullTranslator, TranslationBundle } from '@jupyterlab/translation';
2+
import { TranslationBundle } from '@jupyterlab/translation';
33
import { checkIcon, ToolbarButton, undoIcon } from '@jupyterlab/ui-components';
44
import { Widget } from '@lumino/widgets';
55
import { ICellFooterTracker } from 'jupyterlab-cell-input-footer';

0 commit comments

Comments
 (0)