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

Fix typo

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