mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-10-14 10:31:29 +08:00

* chore: packages are added * feat: i18next is added * feat: translation for the signup is updated * chore: package.json is updated
28 lines
569 B
TypeScript
28 lines
569 B
TypeScript
import './wdyr';
|
|
import './ReactI18';
|
|
|
|
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;
|
|
}
|