mirror of
https://github.com/BillyOutlast/posthog.git
synced 2026-02-04 03:01:23 +01:00
fix(web-analytics): use correct featureFlagLogic import (#40674)
This commit is contained in:
@@ -4,7 +4,7 @@ import { IconCopy } from '@posthog/icons'
|
||||
import { LemonButton, LemonMenu } from '@posthog/lemon-ui'
|
||||
|
||||
import { FEATURE_FLAGS } from 'lib/constants'
|
||||
import { featureFlagsLogic } from 'scenes/feature-flags/featureFlagsLogic'
|
||||
import { featureFlagLogic } from 'lib/logic/featureFlagLogic'
|
||||
|
||||
import { QuerySchema, TrendsQueryResponse, WebStatsTableQueryResponse } from '~/queries/schema/schema-general'
|
||||
import { ExporterFormat, InsightLogicProps } from '~/types'
|
||||
@@ -26,7 +26,7 @@ interface WebAnalyticsExportProps {
|
||||
export function WebAnalyticsExport({ query, insightProps }: WebAnalyticsExportProps): JSX.Element | null {
|
||||
const builtInsightDataLogic = insightDataLogic(insightProps)
|
||||
const { insightDataRaw } = useValues(builtInsightDataLogic)
|
||||
const { featureFlags } = useValues(featureFlagsLogic)
|
||||
const { featureFlags } = useValues(featureFlagLogic)
|
||||
|
||||
if (!featureFlags[FEATURE_FLAGS.COPY_WEB_ANALYTICS_DATA]) {
|
||||
return null
|
||||
|
||||
Reference in New Issue
Block a user