mirror of
https://github.com/hanzo-apps/expense-spend.git
synced 2026-10-30 19:17:00 +00:00
Real Hanzo-stack app forked from hanzo-starter — Vite + React 19 + @hanzo/gui + @hanzo/iam (PKCE) + @hanzo/base. Three views (expense log, add expense, spend summary) over an org-scoped `expenses` collection provisioned from schema.sql. 100% @hanzo/gui primitives (longhand props), clean fintech surface with category chips and by-category / by-month charts. tsc + vite build green.
16 lines
348 B
TypeScript
16 lines
348 B
TypeScript
import { StrictMode } from 'react'
|
|
import { createRoot } from 'react-dom/client'
|
|
import { Providers } from './providers'
|
|
import { App } from './app'
|
|
|
|
const root = document.getElementById('root')
|
|
if (!root) throw new Error('#root not found')
|
|
|
|
createRoot(root).render(
|
|
<StrictMode>
|
|
<Providers>
|
|
<App />
|
|
</Providers>
|
|
</StrictMode>,
|
|
)
|