: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(experiments): guard ExperimentVelocityStats against null stats (#64237)
Juraj Majerik5317b09f2338
diff --git a/frontend/src/scenes/experiments/ExperimentVelocityStats.tsx b/frontend/src/scenes/experiments/ExperimentVelocityStats.tsxindex 5f2abbd2ec72..a322c58ab008 100644--- a/frontend/src/scenes/experiments/ExperimentVelocityStats.tsx+++ b/frontend/src/scenes/experiments/ExperimentVelocityStats.tsx@@ -10,7 +10,7 @@ import { experimentsLogic } from './experimentsLogic'export function ExperimentVelocityStats(): JSX.Element | null {const { experimentsStats, experimentsStatsLoading } = useValues(experimentsLogic)- if (experimentsStatsLoading) {+ if (experimentsStatsLoading || !experimentsStats) {return null}