Skip to content

Commit a0c018a

Browse files
captbaritoneclaude
andcommitted
Fix incorrect method name in renderInto docs example
The code example for renderInto was calling renderWhenReady instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f7e163a commit a0c018a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/webamp-docs/docs/06_API/03_instance-methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ A promise is returned which will resolve after the render is complete.
243243

244244
```ts
245245
const container = document.getElementById("webamp-container");
246-
webamp.renderWhenReady(container).then(() => {
246+
webamp.renderInto(container).then(() => {
247247
console.log("rendered webamp!");
248248
});
249249
```

0 commit comments

Comments
 (0)