diff --git a/src/components/Charts/Gauge/index.js b/src/components/Charts/Gauge/index.js index 450de00cb03c6b86aad5e28a9600a5cc66e49bbd..2249211aeaad53652d578c8dc050a60795129b68 100644 --- a/src/components/Charts/Gauge/index.js +++ b/src/components/Charts/Gauge/index.js @@ -51,7 +51,6 @@ Shape.registerShape('point', 'pointer', { }, }); -export default @autoHeight() class Gauge extends React.Component { render() { @@ -164,3 +163,5 @@ class Gauge extends React.Component { ); } } + +export default Gauge; diff --git a/src/components/Charts/MiniArea/index.js b/src/components/Charts/MiniArea/index.js index 77a19a6ff35112fec1492fd1e0ba019254639d30..d3209becaeed2f3069267b08c16cf9bbb3672be0 100644 --- a/src/components/Charts/MiniArea/index.js +++ b/src/components/Charts/MiniArea/index.js @@ -3,7 +3,6 @@ import { Chart, Axis, Tooltip, Geom } from 'bizcharts'; import autoHeight from '../autoHeight'; import styles from '../index.less'; -export default @autoHeight() class MiniArea extends React.PureComponent { render() { @@ -105,3 +104,5 @@ class MiniArea extends React.PureComponent { ); } } + +export default MiniArea; diff --git a/src/components/Charts/MiniBar/index.js b/src/components/Charts/MiniBar/index.js index c9b561015c3780c58ae2d4c6242eab6c90dae67b..18e4d8c6fba2322b9ee75a9522fa40cd8315463d 100644 --- a/src/components/Charts/MiniBar/index.js +++ b/src/components/Charts/MiniBar/index.js @@ -3,7 +3,6 @@ import { Chart, Tooltip, Geom } from 'bizcharts'; import autoHeight from '../autoHeight'; import styles from '../index.less'; -export default @autoHeight() class MiniBar extends React.Component { render() { @@ -49,3 +48,4 @@ class MiniBar extends React.Component { ); } } +export default MiniBar; diff --git a/src/components/Charts/TimelineChart/index.js b/src/components/Charts/TimelineChart/index.js index 1f7b43f761842124807252f42d7640b36e0d6bab..b76e782fcfe490f67b8d1ab5f051d67f2bb92ac8 100644 --- a/src/components/Charts/TimelineChart/index.js +++ b/src/components/Charts/TimelineChart/index.js @@ -5,7 +5,6 @@ import Slider from 'bizcharts-plugin-slider'; import autoHeight from '../autoHeight'; import styles from './index.less'; -export default @autoHeight() class TimelineChart extends React.Component { render() { @@ -121,3 +120,5 @@ class TimelineChart extends React.Component { ); } } + +export default TimelineChart; diff --git a/src/pages/Forms/AdvancedForm.js b/src/pages/Forms/AdvancedForm.js index a78afed80857d16130a60be533bd7e013ea36af0..f23ecdaa68b3bac08301f5b0911d85f4a5fba979 100644 --- a/src/pages/Forms/AdvancedForm.js +++ b/src/pages/Forms/AdvancedForm.js @@ -57,7 +57,6 @@ const tableData = [ }, ]; -export default @connect(({ loading }) => ({ submitting: loading.effects['form/submitAdvancedForm'], })) @@ -308,3 +307,5 @@ class AdvancedForm extends PureComponent { ); } } + +export default AdvancedForm;