There was an error while loading. Please reload this page.
1 parent b6037ce commit fb45bcfCopy full SHA for fb45bcf
1 file changed
packages/hub-ui/src/client/stories/mock-context.ts
@@ -59,6 +59,10 @@ function createMockRpc(
59
60
const rpc = {
61
events,
62
+ // Server-advertised connection metadata. Stories have no live server, so
63
+ // advertise the `static` backend with no `configs` — the context reads
64
+ // `connectionMeta.configs?.ui?...` optionally, so an empty meta is enough.
65
+ connectionMeta: { backend: 'static' as const },
66
get isTrusted() {
67
return trusted
68
},
0 commit comments