We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 198e941 commit 78c4e2eCopy full SHA for 78c4e2e
packages/scratch-gui/src/containers/blocks.jsx
@@ -431,7 +431,10 @@ class Blocks extends React.Component {
431
this.workspace.removeChangeListener(this.toolboxUpdateChangeListener);
432
const dom = this.ScratchBlocks.utils.xml.textToDom(data.xml);
433
try {
434
- this.ScratchBlocks.Xml.clearWorkspaceAndLoadFromXml(dom, this.workspace);
+ this.ScratchBlocks.clearWorkspaceAndLoadFromXml(
435
+ dom,
436
+ this.workspace
437
+ );
438
} catch (error) {
439
// The workspace is likely incomplete. What did update should be
440
// functional.
0 commit comments