🐛(frontend) fix wrong feature flag for noise reduction

Replace incorrect faceLandmarks flag with proper noiseReduction flag
to ensure correct feature availability checking.
This commit is contained in:
lebaudantoine
2025-07-21 10:27:46 +02:00
committed by aleb_the_flash
parent 0862203d5d
commit 24915b0485

View File

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