Skip to content

Commit

Permalink
Missed one
Browse files Browse the repository at this point in the history
  • Loading branch information
robbie-c committed Dec 17, 2024
1 parent 3b39e81 commit 1ecd7b5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions frontend/src/queries/nodes/WebOverview/WebOverview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ import { IconTrending } from '@posthog/icons'
import { LemonSkeleton } from '@posthog/lemon-ui'
import { useValues } from 'kea'
import { getColorVar } from 'lib/colors'
import { FEATURE_FLAGS } from 'lib/constants'
import { IconTrendingDown, IconTrendingFlat } from 'lib/lemon-ui/icons'
import { LemonBanner } from 'lib/lemon-ui/LemonBanner'
import { Tooltip } from 'lib/lemon-ui/Tooltip'
import { featureFlagLogic } from 'lib/logic/featureFlagLogic'
import { humanFriendlyDuration, humanFriendlyLargeNumber, isNotNil, range } from 'lib/utils'
import { useState } from 'react'

Expand Down Expand Up @@ -42,14 +40,13 @@ export function WebOverview(props: {
onData,
dataNodeCollectionId: dataNodeCollectionId ?? key,
})
const { featureFlags } = useValues(featureFlagLogic)
const { response, responseLoading } = useValues(logic)

const webOverviewQueryResponse = response as WebOverviewQueryResponse | undefined

const samplingRate = webOverviewQueryResponse?.samplingRate

const numSkeletons = props.query.conversionGoal ? 4 : featureFlags[FEATURE_FLAGS.WEB_ANALYTICS_LCP_SCORE] ? 6 : 5
const numSkeletons = props.query.conversionGoal ? 4 : 6

return (
<>
Expand Down

0 comments on commit 1ecd7b5

Please sign in to comment.