wisemapping-frontend/packages/webapp/src/index.tsx
Paulo Gustavo Veiga ab02e12d9f Fix warning on lint
2023-01-14 08:43:06 -08:00

17 lines
408 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;
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const root = createRoot(container!);
root.render(<App />);