Commit 2955f9a1 authored by kennylbj's avatar kennylbj Committed by 偏右

Fix typo

parent 79fa848e
......@@ -158,7 +158,6 @@ const radarOriginData = [
},
];
//
const radarData = [];
const radarTitleMap = {
ref: '引用',
......
......@@ -206,8 +206,8 @@ class BasicLayout extends React.PureComponent {
};
renderSettingDrawer() {
// Do show SettingDrawer in production
// unless deployed in preview.pro.ant.design as demo
// Do not render SettingDrawer in production
// unless it is deployed in preview.pro.ant.design as demo
const { rendering } = this.state;
if ((rendering || process.env.NODE_ENV === 'production') && APP_TYPE !== 'site') {
return null;
......
......@@ -3,7 +3,7 @@ import defaultSettings from '../defaultSettings';
let lessNodesAppended;
const updateTheme = primaryColor => {
// // Don't compile less in production!
// Don't compile less in production!
if (APP_TYPE !== 'site') {
return;
}
......
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