Skip to content

Write HTML. Render video. Built for agents.

fix(sdk-playground): implement PreviewAdapter.attachSync no-op stub

Vance Ingalls393eced90645
diff --git a/packages/sdk-playground/src/main.ts b/packages/sdk-playground/src/main.ts
index d6269ce05c..e00ee7a5b4 100644
--- a/packages/sdk-playground/src/main.ts
+++ b/packages/sdk-playground/src/main.ts
@@ -85,6 +85,10 @@ class PlaygroundPreview implements PreviewAdapter {
this.handlers = this.handlers.filter((h) => h !== handler);
};
}
+
+ attachSync(_comp: Composition): () => void {
+ return () => {};
+ }
}
// ── Preview iframe ────────────────────────────────────────────────────────────