Skip to content

Commit 3deff46

Browse files
Update example in readme to account for multiple egraphs
1 parent 18504da commit 3deff46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ It is also published as an NPM package, which can be imported and used in the br
5858
},
5959
};
6060
const mounted = mount(document.getElementById("egraph-visualizer"));
61-
mounted.render(JSON.stringify(egraph));
61+
mounted.render([JSON.stringify(egraph)]);
6262
// later can call mounted.unmount() to remove the visualizer
6363
</script>
6464
```

0 commit comments

Comments
 (0)