monorepo/gm-dash/ui/src/index.tsx

20 lines
572 B
TypeScript
Raw Normal View History

2024-08-19 23:07:49 +00:00
import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
2024-08-20 16:10:01 +00:00
import Dashboard from './Dashboard';
2024-08-19 23:07:49 +00:00
import reportWebVitals from './reportWebVitals';
const root = ReactDOM.createRoot(
document.getElementById('root') as HTMLElement
);
root.render(
<React.StrictMode>
2024-08-20 16:10:01 +00:00
<Dashboard />
2024-08-19 23:07:49 +00:00
</React.StrictMode>
);
// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();