From c3da5fa5f44bfa1828cc7ca4b41be554b6702bd0 Mon Sep 17 00:00:00 2001 From: Sammy Teillet Date: Mon, 24 Apr 2023 14:56:44 +0200 Subject: [PATCH] feature: put react app in strict mode --- front/src/index.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/front/src/index.tsx b/front/src/index.tsx index ec84e70d6..b57549182 100644 --- a/front/src/index.tsx +++ b/front/src/index.tsx @@ -1,4 +1,4 @@ -import React from 'react'; +import React, { StrictMode } from 'react'; import ReactDOM from 'react-dom/client'; import './index.css'; import App from './App'; @@ -14,7 +14,9 @@ const root = ReactDOM.createRoot( root.render( - + + + , );