From 24915b0485a3dee59d93896c592c42b486e6ea63 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Mon, 21 Jul 2025 10:27:46 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(frontend)=20fix=20wrong=20feature?= =?UTF-8?q?=20flag=20for=20noise=20reduction?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace incorrect faceLandmarks flag with proper noiseReduction flag to ensure correct feature availability checking. --- .../features/rooms/livekit/hooks/useNoiseReductionAvailable.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/features/rooms/livekit/hooks/useNoiseReductionAvailable.ts b/src/frontend/src/features/rooms/livekit/hooks/useNoiseReductionAvailable.ts index 1fba1d9b..62a1c71e 100644 --- a/src/frontend/src/features/rooms/livekit/hooks/useNoiseReductionAvailable.ts +++ b/src/frontend/src/features/rooms/livekit/hooks/useNoiseReductionAvailable.ts @@ -4,7 +4,7 @@ import { useIsAnalyticsEnabled } from '@/features/analytics/hooks/useIsAnalytics import { isMobileBrowser } from '@livekit/components-core' export const useNoiseReductionAvailable = () => { - const featureEnabled = useFeatureFlagEnabled(FeatureFlags.faceLandmarks) + const featureEnabled = useFeatureFlagEnabled(FeatureFlags.noiseReduction) const isAnalyticsEnabled = useIsAnalyticsEnabled() const isMobile = isMobileBrowser()