corda-checkers/webapp/src/index.js

25 lines
734 B
JavaScript
Raw Normal View History

2023-08-13 15:31:47 +02:00
import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import reportWebVitals from './reportWebVitals';
import App from './App';
import { AppDataProvider } from "./context/data"
import { AppContextProvider } from "./context/app"
2023-08-13 15:31:47 +02:00
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
//<React.StrictMode>
<AppContextProvider>
<AppDataProvider>
<App />
</AppDataProvider>
</AppContextProvider>
//</React.StrictMode>
2023-08-13 15:31:47 +02: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();