From 7ad78bf9a7a5ac7defc7ccca18536d4ce4dd1422 Mon Sep 17 00:00:00 2001 From: Jon Date: Thu, 17 Jun 2021 15:12:10 +0100 Subject: [PATCH] removed useCallback and updated comment --- dailyjs/shared/hooks/useJoinSound.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dailyjs/shared/hooks/useJoinSound.js b/dailyjs/shared/hooks/useJoinSound.js index f0dc4ee..474cc48 100644 --- a/dailyjs/shared/hooks/useJoinSound.js +++ b/dailyjs/shared/hooks/useJoinSound.js @@ -1,11 +1,11 @@ -import { useEffect, useCallback, useMemo } from 'react'; +import { useEffect, useMemo } from 'react'; import { debounce } from 'debounce'; import { useCallState } from '../contexts/CallProvider'; import { useSound } from './useSound'; /** - * Convenience hook to play `join.mp3` when first other participants joins. + * Convenience hook to play `join.mp3` when participants join the call */ export const useJoinSound = () => { const { callObject } = useCallState();