wisemapping-frontend/packages/webapp/src/index.tsx
2023-07-30 22:30:32 -07:00

18 lines
434 B
TypeScript

// import './wdyr';
import React from 'react';
import App from './app';
import { createRoot } from 'react-dom/client';
declare global {
interface Window {
newrelic: { noticeError: (Error) => void };
errorMvcView: string;
}
}
const container = document.getElementById('root') as HTMLElement;
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const root = createRoot(container!);
root.render(<App />);