removed localparticipant dep from haircheck joinCall

This commit is contained in:
Jon 2021-06-14 19:50:52 +01:00
parent 33fcde6d7f
commit a1fd415c8d
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ export const HairCheck = () => {
console.log('❌ Access denied');
}
}
}, [callObject, userName, localParticipant]);
}, [callObject, userName]);
// Memoize the to prevent unnecassary re-renders
const tileMemo = useDeepCompareMemo(