Skip to content

Commit

Permalink
Don't override className on BarVisualizer (#963)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasIO authored Sep 11, 2024
1 parent b4820d6 commit ee5874e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/nine-bears-appear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@livekit/components-react": patch
---

Don't override className on BarVisualizer
7 changes: 1 addition & 6 deletions packages/react/src/components/participant/BarVisualizer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,7 @@ export const BarVisualizer = /* @__PURE__ */ React.forwardRef<HTMLDivElement, Ba
);

return (
<div
ref={ref}
{...elementProps}
className={`lk-audio-bar-visualizer`}
data-lk-va-state={state}
>
<div ref={ref} {...elementProps} data-lk-va-state={state}>
{volumeBands.map((volume, idx) => (
<span
key={idx}
Expand Down

0 comments on commit ee5874e

Please sign in to comment.