Mercurial
view hg-web/src/main.tsx @ 190:a2725419f988 hg-web
Updated so that bun builds will with already existing js files.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Sat, 24 Jan 2026 21:06:42 -0800 |
| parents | 71ad34a8bc9a |
| children | 9f4429c49733 |
line wrap: on
line source
import React from 'react'; import ReactDOM from 'react-dom/client'; import { RepoBrowser } from "hg-web/src/repo-browser"; const root = ReactDOM.createRoot(document.getElementById('root')); // Use JSX syntax (<RepoBrowser />) root.render(<RepoBrowser />);