signoz/frontend/src/index.tsx

22 lines
431 B
TypeScript
Raw Normal View History

import 'assets/index.css';
import AppRoutes from 'AppRoutes';
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import store from 'store';
2021-01-03 18:15:44 +05:30
ReactDOM.render(
2021-01-18 02:18:49 +05:30
<Provider store={store}>
<React.StrictMode>
<AppRoutes />
2021-01-18 02:18:49 +05:30
</React.StrictMode>
</Provider>,
document.querySelector('#root'),
2021-01-18 02:18:49 +05:30
);
// setting the Store for the cypress
if (window.Cypress) {
window.store = store;
}