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.

633 B
Raw Blame
import { MakeLogicType, kea, path, reducers } from 'kea'

// Generated by kea-typegen. Update if you're an agent, ignore if you're human.
export interface sceneLogicValues {
    sceneConfig: Record<string, unknown> | null
}

export type sceneLogicType = MakeLogicType<sceneLogicValues, {}>

// Toolbar shim — prevents the real sceneLogic from hijacking routing.
// null sceneConfig makes themeLogic fall through to system dark mode preference.
export const sceneLogic = kea<sceneLogicType>([
    path(['toolbar', 'shims', 'sceneLogic']),
    reducers({
        sceneConfig: [null as Record<string, unknown> | null, {}],
    }),
])