From b91626801f56073f76308825fb443f21b753a26f Mon Sep 17 00:00:00 2001 From: afc163 Date: Sun, 9 Sep 2018 15:02:18 +0800 Subject: [PATCH] remove SettingDrawer in production, close #2240 --- src/layouts/BasicLayout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/BasicLayout.js b/src/layouts/BasicLayout.js index e08785f2..1acfc6a2 100644 --- a/src/layouts/BasicLayout.js +++ b/src/layouts/BasicLayout.js @@ -253,7 +253,7 @@ class BasicLayout extends React.PureComponent { )} - {rendering && process.env.NODE_ENV === 'production' ? null : ( // Do show SettingDrawer in production + {(rendering || process.env.NODE_ENV === 'production') ? null : ( // Do show SettingDrawer in production )} -- GitLab