Browse Source

remove SettingDrawer in production, close #2240

pull/2258/head
afc163 8 years ago
parent
commit
b91626801f
  1. 2
      src/layouts/BasicLayout.js

2
src/layouts/BasicLayout.js

@ -253,7 +253,7 @@ class BasicLayout extends React.PureComponent {
)}
</ContainerQuery>
</DocumentTitle>
{rendering && process.env.NODE_ENV === 'production' ? null : ( // Do show SettingDrawer in production
{(rendering || process.env.NODE_ENV === 'production') ? null : ( // Do show SettingDrawer in production
<SettingDrawer />
)}
</React.Fragment>

Loading…
Cancel
Save