mirror of
https://github.com/Mastermindzh/react-starter-kit.git
synced 2025-09-20 23:29:26 +02:00
Added CypressStrictMode
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import React from "react";
|
||||
import { createRoot } from "react-dom/client";
|
||||
import { Provider } from "react-redux";
|
||||
import { createGlobalStyle } from "styled-components";
|
||||
import App from "./App";
|
||||
import { store } from "./app/store";
|
||||
import { CypressStrictMode } from "./infrastructure/CypressStrictMode";
|
||||
import "./infrastructure/i18n/init";
|
||||
import { OidcProvider } from "./infrastructure/sso/OidcProvider";
|
||||
import { Loader } from "./infrastructure/wrappers/WithPageSuspense";
|
||||
@@ -27,7 +27,7 @@ const GlobalStyle = createGlobalStyle`
|
||||
`;
|
||||
|
||||
root.render(
|
||||
<React.StrictMode>
|
||||
<CypressStrictMode>
|
||||
<GlobalStyle />
|
||||
<Provider store={store}>
|
||||
<OidcProvider>
|
||||
@@ -36,7 +36,7 @@ root.render(
|
||||
</Loader>
|
||||
</OidcProvider>
|
||||
</Provider>
|
||||
</React.StrictMode>,
|
||||
</CypressStrictMode>,
|
||||
);
|
||||
|
||||
// If you want to start measuring performance in your app, pass a function
|
||||
|
Reference in New Issue
Block a user