: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
import { type ReactElement, useEffect } from 'react'
import { PostHogLogo } from './PostHogLogo'
export function AppErrorState({ message }: { message: string }): ReactElement {
useEffect(() => {
console.error('[PostHog MCP App] AppErrorState:', message)
}, [message])
return (
<div className="flex flex-col items-center justify-center gap-3 h-[200px] px-4">
<PostHogLogo size={40} />
<span className="text-xs text-center text-destructive-foreground">{message}</span>
</div>
)
}