From 7a7c0b78e30fe21f975add24aec8a691dfcb3d72 Mon Sep 17 00:00:00 2001 From: khavinshankar Date: Wed, 15 Nov 2023 10:09:57 +0530 Subject: [PATCH] Remove unused dependency in Feed component --- src/Components/Facility/Consultations/Feed.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Facility/Consultations/Feed.tsx b/src/Components/Facility/Consultations/Feed.tsx index b763831bf74..722e846fa26 100644 --- a/src/Components/Facility/Consultations/Feed.tsx +++ b/src/Components/Facility/Consultations/Feed.tsx @@ -446,7 +446,7 @@ export const Feed: React.FC = ({ consultationId, facilityId }) => { } }); }; - }, [cameraAsset, cameraMiddlewareHostname]); + }, [cameraAsset]); //count down from CAMERA_ACCESS_TIMEOUT when mouse is idle to unlock asset after timeout useEffect(() => {