feishin/src/renderer/index.tsx

8 lines
203 B
TypeScript
Raw Normal View History

2022-12-19 15:59:14 -08:00
import { createRoot } from 'react-dom/client';
import { App } from './app';
const container = document.getElementById('root')! as HTMLElement;
const root = createRoot(container);
root.render(<App />);