wisemapping-frontend/packages/webapp/src/index.tsx
2022-12-16 03:32:22 +00:00

16 lines
339 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 };
}
}
const container = document.getElementById('root') as HTMLElement;
const root = createRoot(container!);
root.render(<App />);