mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-11 01:43:23 +01:00
17 lines
408 B
TypeScript
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 />);
|