diff --git a/src/layouts/BasicLayout.js b/src/layouts/BasicLayout.js index e08785f2573b0397c63fc0ac62e62477a3faf613..1acfc6a25ac9c41a4ce876bea9707ebcbcb8f1da 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 )}