diff --git a/server/web/src/index.tsx b/server/web/src/index.tsx index edced12..015f58c 100644 --- a/server/web/src/index.tsx +++ b/server/web/src/index.tsx @@ -2,6 +2,7 @@ import './i18n'; import App from './App'; import LocaleContextProvider from './providers/LocaleContextProvider'; import store from './store'; +import { StrictMode } from 'react'; import ReactDOM from 'react-dom/client'; import { Provider } from 'react-redux'; import { HashRouter as Router } from 'react-router'; @@ -11,15 +12,12 @@ const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement) root.render( - {/* the waring below appears when using ant menu due to react strict mode. - * Using