fix: prevent errors when destroying local data on launch challenge
This commit is contained in:
@@ -923,8 +923,8 @@ class EditorViewCtrl extends PureViewCtrl<{}, EditorState> {
|
||||
|
||||
if (
|
||||
this.state.marginResizersEnabled &&
|
||||
this.leftPanelPuppet!.ready &&
|
||||
this.rightPanelPuppet!.ready
|
||||
this.leftPanelPuppet?.ready &&
|
||||
this.rightPanelPuppet?.ready
|
||||
) {
|
||||
const width = this.application.getPrefsService().getValue(
|
||||
WebPrefKey.EditorWidth,
|
||||
|
||||
Reference in New Issue
Block a user