Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1289a5f

Browse files
Fix className property on BarVisualizer (#1029)
Co-authored-by: lukasIO <[email protected]>
1 parent 2b582d3 commit 1289a5f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/fresh-fans-deliver.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@livekit/components-react": patch
3+
---
4+
5+
Fix className property on BarVisualizer

packages/react/src/components/participant/BarVisualizer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export const BarVisualizer = /* @__PURE__ */ React.forwardRef<HTMLDivElement, Ba
110110
cloneSingleChild(children, {
111111
'data-lk-highlighted': highlightedIndices.includes(idx),
112112
'data-lk-bar-index': idx,
113-
class: 'lk-audio-bar',
113+
className: 'lk-audio-bar',
114114
style: { height: `${Math.min(maxHeight, Math.max(minHeight, volume * 100 + 5))}%` },
115115
})
116116
) : (

0 commit comments

Comments
 (0)