Skip to content

Commit a20931f

Browse files
committed
docs: simplify errors docs
1 parent ce7ddbd commit a20931f

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎docs/content/6.errors/DF0077.md‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,14 @@ interface PanelProtocol {
2424
}
2525
}
2626

27-
const { port1, port2 } = new MessageChannel()
28-
2927
const pageScript = createPageScriptChannel({
3028
name: 'devframes:example',
31-
window: false,
3229
functions: {},
3330
})
3431
pageScript.addPanelPort(port1)
3532

3633
const panel = connectPanelChannel<PanelProtocol>({
3734
name: 'devframes:example',
38-
window: false,
39-
transport: port2,
4035
functions: {},
4136
})
4237

0 commit comments

Comments
 (0)