Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(persons): always run revenue loader to fix 'unknown' MRR/LTV race (#58973)

Xander348b89289f78
diff --git a/frontend/src/scenes/persons/personLogic.tsx b/frontend/src/scenes/persons/personLogic.tsx
index 96310a231fb6..a1e962f85996 100644
--- a/frontend/src/scenes/persons/personLogic.tsx
+++ b/frontend/src/scenes/persons/personLogic.tsx
@@ -53,7 +53,7 @@ export const personLogic = kea<personLogicType>([
},
],
})),
- lazyLoaders(({ props, values }) => ({
+ lazyLoaders(({ props }) => ({
person: [
null as PersonType | null,
{
@@ -128,10 +128,6 @@ export const personLogic = kea<personLogicType>([
null as { mrr: number | null; lifetimeValue: number | null } | null,
{
loadRevenueData: async () => {
- if (!values.isRevenueAnalyticsEnabled) {
- return null
- }
-
try {
const result = await api.query({
kind: NodeKind.HogQLQuery,