From 2021b7db78e1d33564c611158bfa0ae19a9c4223 Mon Sep 17 00:00:00 2001 From: PrakashDurlabhji Date: Tue, 14 Apr 2020 20:09:31 +0530 Subject: [PATCH 1/2] Update index.jsx --- src/shared/routes/Settings/index.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/shared/routes/Settings/index.jsx b/src/shared/routes/Settings/index.jsx index f352d2d37d..8f6023fceb 100644 --- a/src/shared/routes/Settings/index.jsx +++ b/src/shared/routes/Settings/index.jsx @@ -16,10 +16,10 @@ export default function Settings({ base }) { .then(({ default: Router }) => ) } renderPlaceholder={() => } - renderServer={() => { - const Router = webpack.requireWeak(path.resolve(__dirname, './Router')); - return ; - }} + // renderServer={() => { + // const Router = webpack.requireWeak(path.resolve(__dirname, './Router')); + // return ; + //}} /> ); } From 7ebec7e7e7dad8173e6e7391f1d6da8bc5dd10f7 Mon Sep 17 00:00:00 2001 From: prakashdurlabhji Date: Tue, 14 Apr 2020 21:01:48 +0530 Subject: [PATCH 2/2] lint fix --- src/shared/routes/Settings/index.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/shared/routes/Settings/index.jsx b/src/shared/routes/Settings/index.jsx index 8f6023fceb..96f929857c 100644 --- a/src/shared/routes/Settings/index.jsx +++ b/src/shared/routes/Settings/index.jsx @@ -4,8 +4,8 @@ import React from 'react'; import PT from 'prop-types'; -import path from 'path'; -import { AppChunk, webpack } from 'topcoder-react-utils'; +// import path from 'path'; +import { AppChunk } from 'topcoder-react-utils'; import LoadingIndicator from 'components/LoadingIndicator'; export default function Settings({ base }) { @@ -19,7 +19,7 @@ export default function Settings({ base }) { // renderServer={() => { // const Router = webpack.requireWeak(path.resolve(__dirname, './Router')); // return ; - //}} + // }} /> ); }