Skip to content

Commit 6e46a18

Browse files
authored
fix: use serialization wrapper (#32)
1 parent 0570261 commit 6e46a18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/containers/blocks.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ class Blocks extends React.Component {
522522
this.workspace.removeChangeListener(this.toolboxUpdateChangeListener);
523523
const dom = this.ScratchBlocks.utils.xml.textToDom(data.xml);
524524
try {
525-
this.ScratchBlocks.Xml.clearWorkspaceAndLoadFromXml(
525+
this.ScratchBlocks.clearWorkspaceAndLoadFromXml(
526526
dom,
527527
this.workspace
528528
);

0 commit comments

Comments
 (0)