2021-11-16 21:13:20 +05:30
|
|
|
import './wdyr';
|
2022-03-22 16:22:41 +05:30
|
|
|
import './ReactI18';
|
2021-08-26 11:50:47 +05:30
|
|
|
|
|
|
|
|
import AppRoutes from 'AppRoutes';
|
|
|
|
|
import React from 'react';
|
|
|
|
|
import ReactDOM from 'react-dom';
|
|
|
|
|
import { Provider } from 'react-redux';
|
2021-12-02 18:36:30 +05:30
|
|
|
import reportWebVitals from 'reportWebVitals';
|
2021-08-26 11:50:47 +05:30
|
|
|
import store from 'store';
|
2021-01-03 18:15:44 +05:30
|
|
|
|
2021-12-02 18:36:30 +05:30
|
|
|
if (process.env.NODE_ENV === 'development') {
|
|
|
|
|
reportWebVitals(console.log);
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-03 18:15:44 +05:30
|
|
|
ReactDOM.render(
|
2021-01-18 02:18:49 +05:30
|
|
|
<Provider store={store}>
|
|
|
|
|
<React.StrictMode>
|
2021-09-28 18:50:10 +05:30
|
|
|
<AppRoutes />
|
2021-01-18 02:18:49 +05:30
|
|
|
</React.StrictMode>
|
2021-02-21 06:23:56 +05:30
|
|
|
</Provider>,
|
2021-08-26 11:50:47 +05:30
|
|
|
document.querySelector('#root'),
|
2021-01-18 02:18:49 +05:30
|
|
|
);
|
2021-10-22 17:07:57 +05:30
|
|
|
|
|
|
|
|
// setting the Store for the cypress
|
|
|
|
|
if (window.Cypress) {
|
|
|
|
|
window.store = store;
|
|
|
|
|
}
|