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

16 lines
339 B
TypeScript
Raw Normal View History

2022-11-16 07:45:59 +01:00
// import './wdyr';
2022-11-13 03:42:52 +01:00
import React from 'react';
import App from './app';
import { createRoot } from 'react-dom/client';
2022-12-16 04:32:22 +01:00
declare global {
interface Window {
newrelic: { noticeError: (Error) => void };
}
}
2022-11-16 07:45:59 +01:00
const container = document.getElementById('root') as HTMLElement;
const root = createRoot(container!);
root.render(<App />);