dyomedea/src/index.tsx

10 lines
212 B
TypeScript
Raw Normal View History

2022-08-31 12:35:20 +00:00
import React from 'react';
2022-08-31 13:28:20 +00:00
2022-08-31 12:35:20 +00:00
import App from './App';
import { createRoot } from 'react-dom/client';
const container = document.getElementById('root');
const root = createRoot(container!);
root.render(<App />);