From e1a30aa77c48855262b612685fd782bc8e918520 Mon Sep 17 00:00:00 2001 From: Anderson Date: Tue, 25 Sep 2018 12:44:33 +0800 Subject: [PATCH] Update Analysis.js Remove unused code. --- src/pages/Dashboard/Analysis.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/pages/Dashboard/Analysis.js b/src/pages/Dashboard/Analysis.js index acfc28a2..a6fabc10 100644 --- a/src/pages/Dashboard/Analysis.js +++ b/src/pages/Dashboard/Analysis.js @@ -66,12 +66,6 @@ class Analysis extends Component { }; } - state = { - salesType: 'all', - currentTabKey: '', - rangePickerValue: getTimeDistance('year'), - }; - componentDidMount() { const { dispatch } = this.props; this.reqRef = requestAnimationFrame(() => { -- GitLab