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.

chore(insights): delete the unused insights wrapper (#116828)

Thomas Obermüllerc0cc5855eb2e
diff --git a/frontend/src/scenes/insights/InsightsWrapper/InsightsWrapper.tsx b/frontend/src/scenes/insights/InsightsWrapper/InsightsWrapper.tsx
deleted file mode 100644
index bd99fc120774..000000000000
--- a/frontend/src/scenes/insights/InsightsWrapper/InsightsWrapper.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-// These classes are all pretty weird but they're here because we want to maintain consistency
-// between the trends insights and some other nodes
-export const InsightsWrapper = ({ children }: { children: React.ReactNode }): JSX.Element => {
- return (
- <div className="InsightVizDisplay InsightVizDisplay--type-trends border rounded bg-surface-primary">
- <div className="InsightVizDisplay__content">{children}</div>
- </div>
- )
-}
diff --git a/frontend/src/scenes/insights/InsightsWrapper/index.ts b/frontend/src/scenes/insights/InsightsWrapper/index.ts
deleted file mode 100644
index 7a69ff57fe7b..000000000000
--- a/frontend/src/scenes/insights/InsightsWrapper/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './InsightsWrapper'