: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): pin useChart generic in VariantTimeseriesChart (#64108)
Daniel RC67f79d23c805
diff --git a/frontend/src/scenes/experiments/MetricsView/new/VariantTimeseriesChart.tsx b/frontend/src/scenes/experiments/MetricsView/new/VariantTimeseriesChart.tsxindex e62f9b3fd34d..77cbf5607fab 100644--- a/frontend/src/scenes/experiments/MetricsView/new/VariantTimeseriesChart.tsx+++ b/frontend/src/scenes/experiments/MetricsView/new/VariantTimeseriesChart.tsx@@ -18,7 +18,7 @@ export function VariantTimeseriesChart({const colors = useChartColors()const { getTooltip, showTooltip, hideTooltip, positionTooltip } = useInsightTooltip()- const { canvasRef } = useChart({+ const { canvasRef } = useChart<'line'>({getConfig: () => {if (!data) {return null