removed useCallback and updated comment

This commit is contained in:
Jon 2021-06-17 15:12:10 +01:00
parent a19529a138
commit 7ad78bf9a7
1 changed files with 2 additions and 2 deletions

View File

@ -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();