From f45d7e050669f1ea716a74872d7429f1ec1e48dc Mon Sep 17 00:00:00 2001 From: Haishan Date: Thu, 29 Aug 2019 22:53:13 +0800 Subject: [PATCH] chore: remove maxDuration prop on Suspense --- src/components/Root.js | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/src/components/Root.js b/src/components/Root.js index 6f18b22..a538634 100644 --- a/src/components/Root.js +++ b/src/components/Root.js @@ -14,16 +14,20 @@ import './Root.css'; import s0 from './Root.module.css'; const Proxies = React.lazy(() => - import(/* webpackChunkName: "proxies" */ - /* webpackPrefetch: true */ - /* webpackPreload: true */ - './Proxies') + import( + /* webpackChunkName: "proxies" */ + /* webpackPrefetch: true */ + /* webpackPreload: true */ + './Proxies' + ) ); const Rules = React.lazy(() => - import(/* webpackChunkName: "rules" */ - /* webpackPrefetch: true */ - /* webpackPreload: true */ - './Rules') + import( + /* webpackChunkName: "rules" */ + /* webpackPrefetch: true */ + /* webpackPreload: true */ + './Rules' + ) ); // testing... @@ -39,7 +43,7 @@ const Root = () => ( } />
- } maxDuration={10}> + }> } /> } />