hermes-agent/apps/bootstrap-installer/src/main.tsx
github-actions[bot] 75f45a0692
fmt(js): npm run fix on merge (#65229)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-07-15 21:40:56 +00:00

18 lines
498 B
TypeScript

import './styles.css'
import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import App from './app.tsx'
import { watchTheme } from './theme'
// Follow the OS light/dark appearance. theme.ts paints the first frame on
// import (synchronously, from the media query); this subscribes to live OS
// theme changes via the authoritative Tauri window theme.
void watchTheme()
createRoot(document.getElementById('root')!).render(
<StrictMode>
<App />
</StrictMode>
)