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 )}