Enable app-wide StrictMode and restore React effect checks
Some checks failed
Deploy Sokko G / deploy (push) Failing after 2s

This commit is contained in:
Shinuwa 2026-09-12 12:53:08 +02:00
parent b0e340efc7
commit a9b68a5712
5 changed files with 21 additions and 3 deletions

View file

@ -1,6 +1,6 @@
// Rôle : point d'entrée React, assemble données, routes, shell et overlays.
/* eslint-disable react-refresh/only-export-components -- point d'entrée Vite sans export de composant. */
import { lazy, Suspense, useCallback, useEffect, useState } from "react";
import { lazy, StrictMode, Suspense, useCallback, useEffect, useState } from "react";
import { createRoot } from "react-dom/client";
import "./styles/main.scss";
import { AppOverlays } from "./components/AppOverlays.jsx";
@ -175,4 +175,4 @@ function App() {
);
}
createRoot(document.querySelector("#app")).render(<App />);
createRoot(document.querySelector("#app")).render(<StrictMode><App /></StrictMode>);