From 20821864faa2cbd02b7264330bf4954b3be4b6cf Mon Sep 17 00:00:00 2001 From: jhfeng Date: Wed, 31 Oct 2018 16:06:50 +0800 Subject: [PATCH] fix(Analysis): correct typos (#2708) --- src/pages/Dashboard/Analysis.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/Dashboard/Analysis.js b/src/pages/Dashboard/Analysis.js index 49c37526..03944e5c 100644 --- a/src/pages/Dashboard/Analysis.js +++ b/src/pages/Dashboard/Analysis.js @@ -140,8 +140,8 @@ class Analysis extends Component { } render() { - const { rangePickerValue, salesType, loading: propsLoding, currentTabKey } = this.state; - const { chart, loading: stateLoading } = this.props; + const { rangePickerValue, salesType, loading: stateLoading, currentTabKey } = this.state; + const { chart, loading: propsLoading } = this.props; const { visitData, visitData2, @@ -153,7 +153,7 @@ class Analysis extends Component { salesTypeDataOnline, salesTypeDataOffline, } = chart; - const loading = propsLoding || stateLoading; + const loading = propsLoading || stateLoading; let salesPieData; if (salesType === 'all') { salesPieData = salesTypeData; -- GitLab