2022-11-16 07:45:59 +01:00
|
|
|
// import './wdyr';
|
2022-11-13 03:42:52 +01:00
|
|
|
|
2021-02-23 08:02:15 +01:00
|
|
|
import React from 'react';
|
|
|
|
import App from './app';
|
2022-10-31 06:17:01 +01:00
|
|
|
import { createRoot } from 'react-dom/client';
|
2020-12-12 21:23:38 +01:00
|
|
|
|
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;
|
2023-01-14 17:40:25 +01:00
|
|
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
2022-11-16 07:45:59 +01:00
|
|
|
const root = createRoot(container!);
|
|
|
|
root.render(<App />);
|