From 070df9881b43ca995fbbd2390e2c7522393b2a91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Iv=C3=A1n=20L=C3=B3pez=20Gonz=C3=A1lez?= Date: Thu, 23 Mar 2023 16:48:56 +0000 Subject: [PATCH] [web] Remove strict mode - Components are mounted twice, which poduces some side effects as calling to probe system twice. --- web/src/index.js | 46 ++++++++++++++++++++++------------------------ 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/web/src/index.js b/web/src/index.js index b30a12b47d..64d847b54c 100644 --- a/web/src/index.js +++ b/web/src/index.js @@ -19,7 +19,7 @@ * find current contact information at www.suse.com. */ -import React, { StrictMode } from "react"; +import React from "react"; import { createRoot } from "react-dom/client"; import "core-js/stable"; import "regenerator-runtime/runtime"; @@ -52,28 +52,26 @@ const container = document.getElementById("root"); const root = createRoot(container); root.render( - - - - - - - }> - }> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - - } /> + + + + + + }> + }> + } /> + } /> + } /> + } /> + } /> + } /> + } /> - - - - - - + } /> + + + + + + );