2022-04-06 21:18:32 +01:00
|
|
|
import React from "react";
|
2023-07-27 13:06:07 +01:00
|
|
|
import ReactDOM from "react-dom/client";
|
2022-04-06 21:18:32 +01:00
|
|
|
|
|
|
|
import { Chart, registerables } from "chart.js";
|
2022-05-02 15:28:26 +05:30
|
|
|
import { MatrixElement, MatrixController } from "chartjs-chart-matrix";
|
2022-04-06 21:18:32 +01:00
|
|
|
import "chartjs-adapter-moment";
|
|
|
|
|
|
|
|
import App from "./App";
|
|
|
|
import reportWebVitals from "./reportWebVitals";
|
|
|
|
|
2023-07-27 13:06:07 +01:00
|
|
|
import "antd/dist/reset.css";
|
2022-04-06 21:18:32 +01:00
|
|
|
import "leaflet/dist/leaflet.css";
|
|
|
|
import "leaflet.awesome-markers/dist/leaflet.awesome-markers.css";
|
|
|
|
import "@fortawesome/fontawesome-free/css/all.css";
|
|
|
|
import "codemirror/lib/codemirror.css";
|
|
|
|
import "codemirror/theme/base16-light.css";
|
|
|
|
import "./index.css";
|
|
|
|
|
|
|
|
Chart.register(MatrixController, MatrixElement, ...registerables);
|
|
|
|
|
2023-07-27 13:06:07 +01:00
|
|
|
const root = ReactDOM.createRoot(document.getElementById("root") as HTMLElement);
|
2024-07-16 15:10:19 +02:00
|
|
|
root.render(
|
|
|
|
<React.StrictMode>
|
|
|
|
<App />
|
|
|
|
</React.StrictMode>,
|
|
|
|
);
|
2022-04-06 21:18:32 +01:00
|
|
|
|
|
|
|
// 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();
|