Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bcherry committed Dec 19, 2024
1 parent 1c195b5 commit e086a00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/react/src/hooks/useIsMuted.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export interface UseIsMutedOptions {
* ```
*
* @param trackRef - A track reference object
* @param sourceOrTrackRef - Either a track reference or a track source
* @param sourceOrTrackRef - Either a `TrackRef` or a track source
* @param options - Additional options when using with track source
* @returns boolean indicating if the track is muted
*
Expand Down
6 changes: 2 additions & 4 deletions tooling/api-documenter/src/documenters/MarkdownDocumenter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -562,13 +562,11 @@ export class MarkdownDocumenter {

output.appendNode(new DocHeading({ configuration, title, level: 3 }));

// Create new content with modified first node
const newContent = new DocSection({ configuration });
const newContent: DocSection = new DocSection({ configuration });
if (firstNode && firstNode.getChildNodes().length > 0) {
newContent.appendNode(firstNode);
}
// Add all other nodes after the first one
for (let i = 1; i < exampleBlock.content.nodes.length; i++) {
for (let i: number = 1; i < exampleBlock.content.nodes.length; i++) {
newContent.appendNode(exampleBlock.content.nodes[i]);
}

Expand Down

0 comments on commit e086a00

Please sign in to comment.