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

16 lines
323 B
TypeScript
Raw Normal View History

import React from 'react';
import ReactDOM from 'react-dom';
2020-12-07 01:31:48 +01:00
import App from './app';
import { BrowserRouter as Router } from 'react-router-dom';
2020-12-07 01:31:48 +01:00
function bootstrapApplication() {
ReactDOM.render(
<Router>
2020-12-07 01:31:48 +01:00
<App />
</Router>,
document.getElementById('root') as HTMLElement
)
}
2020-12-07 01:31:48 +01:00
bootstrapApplication()