diff --git a/devtools/client/debugger/src/components/Editor/index.js b/devtools/client/debugger/src/components/Editor/index.js index 03bf29344c45..ef3d4f1a446e 100644 --- a/devtools/client/debugger/src/components/Editor/index.js +++ b/devtools/client/debugger/src/components/Editor/index.js @@ -141,7 +141,11 @@ class Editor extends PureComponent { UNSAFE_componentWillReceiveProps(nextProps) { let { editor } = this.state; - if (!editor && nextProps.selectedSource) { + if (!editor) { + // See Bug 1913061 + if (!nextProps.selectedSource) { + return; + } editor = this.setupEditor(); }