Skip to content

Commit

Permalink
Fix className property on BarVisualizer (#1029)
Browse files Browse the repository at this point in the history
Co-authored-by: lukasIO <[email protected]>
  • Loading branch information
mikljohansson and lukasIO authored Nov 20, 2024
1 parent 2b582d3 commit 1289a5f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/fresh-fans-deliver.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@livekit/components-react": patch
---

Fix className property on BarVisualizer
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export const BarVisualizer = /* @__PURE__ */ React.forwardRef<HTMLDivElement, Ba
cloneSingleChild(children, {
'data-lk-highlighted': highlightedIndices.includes(idx),
'data-lk-bar-index': idx,
class: 'lk-audio-bar',
className: 'lk-audio-bar',
style: { height: `${Math.min(maxHeight, Math.max(minHeight, volume * 100 + 5))}%` },
})
) : (
Expand Down

0 comments on commit 1289a5f

Please sign in to comment.