mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-28 14:32:00 +08:00
28 lines
575 B
TypeScript
28 lines
575 B
TypeScript
import './wdyr';
|
|
import 'assets/index.css';
|
|
|
|
import AppRoutes from 'AppRoutes';
|
|
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
import { Provider } from 'react-redux';
|
|
import reportWebVitals from 'reportWebVitals';
|
|
import store from 'store';
|
|
|
|
if (process.env.NODE_ENV === 'development') {
|
|
reportWebVitals(console.log);
|
|
}
|
|
|
|
ReactDOM.render(
|
|
<Provider store={store}>
|
|
<React.StrictMode>
|
|
<AppRoutes />
|
|
</React.StrictMode>
|
|
</Provider>,
|
|
document.querySelector('#root'),
|
|
);
|
|
|
|
// setting the Store for the cypress
|
|
if (window.Cypress) {
|
|
window.store = store;
|
|
}
|