From a1fd415c8dc36346e64317177d1b76275acbd049 Mon Sep 17 00:00:00 2001 From: Jon Date: Mon, 14 Jun 2021 19:50:52 +0100 Subject: [PATCH] removed localparticipant dep from haircheck joinCall --- dailyjs/basic-call/components/HairCheck/HairCheck.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dailyjs/basic-call/components/HairCheck/HairCheck.js b/dailyjs/basic-call/components/HairCheck/HairCheck.js index 68d1fe1..f29dab3 100644 --- a/dailyjs/basic-call/components/HairCheck/HairCheck.js +++ b/dailyjs/basic-call/components/HairCheck/HairCheck.js @@ -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(