Files
zeekay 1943f1c093 Hanzo Commerce
Multi-tenant commerce and billing: orders, subscriptions, invoices, plans,
usage metering and a credit ledger. One Go binary. MIT OR Apache-2.0.

Claude-Session: https://claude.ai/code/session_01SAtaDFm8VDiWrhYHNNtxMw
2026-09-23 21:52:16 -07:00

22 lines
689 B
TypeScript

"use client"
/**
* Root client providers — the Hanzo GUI theme, and nothing else.
*
* The docs are a static export with no session and no data layer, so the only
* thing every page needs is the token/theme context the `@hanzo/gui` components
* and the `@hanzo/ui` component layer read from. The scale is
* `@hanzo/ui/gui-config` — the same one the Commerce admin renders on.
*/
import type { ReactNode } from "react"
import { GuiProvider } from "@hanzo/gui"
import config from "@hanzo/ui/gui-config"
const Providers = ({ children }: { children?: ReactNode }) => (
<GuiProvider config={config} defaultTheme="dark">
{children}
</GuiProvider>
)
export default Providers