mirror of
https://github.com/Mastermindzh/react-starter-kit.git
synced 2025-09-20 23:29:26 +02:00
- Added translations
- Added pluralization example - Added formatter example (with Luxon) - Used HTTP loader - Added a suspense fallback page for app loading - Added cypress eslint rules
This commit is contained in:
@@ -4,6 +4,8 @@ import { Provider } from "react-redux";
|
||||
import App from "./App";
|
||||
import { store } from "./app/store";
|
||||
import "./index.css";
|
||||
import "./infrastructure/i18n/init";
|
||||
import { Loader } from "./infrastructure/wrappers/WithPageSuspense";
|
||||
import reportWebVitals from "./reportWebVitals";
|
||||
|
||||
const container = document.getElementById("root")!;
|
||||
@@ -12,7 +14,9 @@ const root = createRoot(container);
|
||||
root.render(
|
||||
<React.StrictMode>
|
||||
<Provider store={store}>
|
||||
<App />
|
||||
<Loader>
|
||||
<App />
|
||||
</Loader>
|
||||
</Provider>
|
||||
</React.StrictMode>,
|
||||
);
|
||||
|
Reference in New Issue
Block a user