Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Sujew <[email protected]>
Signed-off-by: Jonah Iden <[email protected]>
  • Loading branch information
jonah-iden and msujew committed Jan 29, 2025
1 parent 0d9cb09 commit 841139c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export class CellOutputWebviewImpl implements CellOutputWebview, Disposable {
protected element?: HTMLDivElement; // React.createRef<HTMLDivElement>();

protected webviewWidget: WebviewWidget;
protected webiviewWidgetInitialized = new Deferred();
protected webviewWidgetInitialized = new Deferred();

protected toDispose = new DisposableCollection();

Expand All @@ -260,7 +260,7 @@ export class CellOutputWebviewImpl implements CellOutputWebview, Disposable {

this.webviewWidget = await this.widgetManager.getOrCreateWidget(WebviewWidget.FACTORY_ID, { id: this.id });

this.webiviewWidgetInitialized.resolve();
this.webviewWidgetInitialized.resolve();

// this.webviewWidget.parent = this.editor ?? null;
this.webviewWidget.setContentOptions({
Expand Down Expand Up @@ -339,7 +339,7 @@ export class CellOutputWebviewImpl implements CellOutputWebview, Disposable {
return <div className='theia-notebook-cell-output-webview' ref={async element => {
if (element) {
this.element = element;
await this.webiviewWidgetInitialized.promise;
await this.webviewWidgetInitialized.promise;
this.attachWebview();
}
}}></div>;
Expand Down

0 comments on commit 841139c

Please sign in to comment.