From b1c0688fe347a9bc832cb4be53ecf3b4f8d6477c Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 3 May 2019 10:44:25 +0300 Subject: React.StrictMode --- vnext/src/index.js | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'vnext') diff --git a/vnext/src/index.js b/vnext/src/index.js index 482591c9..99d44d2b 100644 --- a/vnext/src/index.js +++ b/vnext/src/index.js @@ -2,19 +2,21 @@ import React, { lazy, Suspense } from 'react'; import ReactDOM from 'react-dom'; function LoadingView(props) { - return ( -
-
-
- ); + return ( +
+
+
+ ); } const Juick = lazy(() => import('./App')); const JuickApp = () => ( - - - + + + + + ); ReactDOM.render(, document.getElementById('wrapper')); -- cgit v1.2.3