Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne committed Feb 7, 2023
1 parent 3ebded9 commit e41584b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/webviews/extension-side/ipywidgets/rendererComms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ export class IPyWidgetRendererComms implements IExtensionSyncActivationService {
`IPyWidget version in Kernel is ${kernel?.ipywidgetsVersion} and in widget state is ${versionInWidgetState}.}`
);
}
if (version || widgetState) {
comms.postMessage({ command: 'ipywidget-renderer-init', version, widgetState }, editor).then(noop, noop);
}
comms.postMessage({ command: 'ipywidget-renderer-init', version, widgetState }, editor).then(noop, noop);
}
}

0 comments on commit e41584b

Please sign in to comment.