mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-21 16:18:55 +00:00
18 lines
498 B
TypeScript
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>
|
|
)
|