Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
nikk15 committed Jun 12, 2023
1 parent 9f02e46 commit 79f2fc1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/react-components/misc/useVolumeMeter.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ function updateVolume(analyser, meter) {
export function useVolumeMeter({ analyser, update, updateRate = 50 }) {
const movingAvgRef = useRef();
const meterRef = useRef({ levels: [], volume: 0, prevVolume: 0, max: 0 });
console.log("render");
useEffect(() => {
if (!update) return;
if (!movingAvgRef.current) {
Expand Down
1 change: 0 additions & 1 deletion src/react-components/room/hooks/useAvatarVolume.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export default function useAvatarVolume(sessionId, onMultiplierChanged) {
},
[controls]
);
console.log("render");
useEffect(() => {
if (!controlsEl) return;
controlsEl.addEventListener("gain_multiplier_updated", onMultiplierUpdated);
Expand Down

0 comments on commit 79f2fc1

Please sign in to comment.