Skip to content

Commit 828adb7

Browse files
committed
docs(patterns): fix PostMessageTransport arity in fixed-height snippet
1 parent a14c46d commit 828adb7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ const app = new App(
523523
{},
524524
{ autoResize: false },
525525
);
526-
await app.connect(new PostMessageTransport(window.parent));
526+
await app.connect(new PostMessageTransport(window.parent, window.parent));
527527
app.sendSizeChanged({ width: document.body.clientWidth, height: 500 });
528528
```
529529

0 commit comments

Comments
 (0)