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

14 lines
337 B
TypeScript
Raw Normal View History

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