Commit b9162680 authored by afc163's avatar afc163

remove SettingDrawer in production, close #2240

parent 709c4042
......@@ -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>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment