wisemapping-frontend/packages/webapp/src/index.tsx

12 lines
297 B
TypeScript
Raw Normal View History

import React from 'react';
import App from './app';
import { createRoot } from 'react-dom/client';
async function bootstrapApplication() {
const container = document.getElementById('root') as HTMLElement
const root = createRoot(container!);
root.render(<App />);
2020-12-07 01:31:48 +01:00
}
bootstrapApplication();