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(customer-analytics): decouple accounts loading states (#81167)

Arthur Moreira de Deus01e76b8a89d1
diff --git a/products/customer_analytics/frontend/components/Accounts/AccountsTabContent.tsx b/products/customer_analytics/frontend/components/Accounts/AccountsTabContent.tsx
index 2e6ada12f8fa..609b1edc28a4 100644
--- a/products/customer_analytics/frontend/components/Accounts/AccountsTabContent.tsx
+++ b/products/customer_analytics/frontend/components/Accounts/AccountsTabContent.tsx
@@ -20,20 +20,20 @@ export function AccountsTabContent(): JSX.Element {
query: accountsQuerySource,
}}
>
- <BindLogic
- logic={dataNodeLogic}
- props={{
- key: ACCOUNTS_METRICS_DATA_NODE_KEY,
- query: metricsQuery,
- }}
- >
- <div className="flex flex-col gap-3">
- <AccountsMaxTools />
- <AccountsTabFilters />
+ <div className="flex flex-col gap-3">
+ <AccountsMaxTools />
+ <AccountsTabFilters />
+ <BindLogic
+ logic={dataNodeLogic}
+ props={{
+ key: ACCOUNTS_METRICS_DATA_NODE_KEY,
+ query: metricsQuery,
+ }}
+ >
<AccountsOverviewTiles />
- <AccountsHogQLTable />
- </div>
- </BindLogic>
+ </BindLogic>
+ <AccountsHogQLTable />
+ </div>
</BindLogic>
)
}