Remove reference to undefined binding
Semantic delta
No definition changed: this change is text, documentation or data.
1 files · +1 −1
diff --git a/docs/src/pages/docs/javascript.mdx b/docs/src/pages/docs/javascript.mdx
index 163725bdc..a2b917ac5 100644
--- a/docs/src/pages/docs/javascript.mdx
+++ b/docs/src/pages/docs/javascript.mdx
@@ -49,7 +49,7 @@ node.addChild(new Node({width: 100, height: 100}));
node.computeLayout();
// Mutate node
-node.setStyle(Style({width: 100, height: 100}))
+node.setStyle({width: 100, height: 100})
// This call will return partially cached results
node.computeLayout();