Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim committed Sep 2, 2020
1 parent 8bdd3f7 commit e35fd90
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/ChartBlock/ChartBlockEdit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Edit extends Component {
this.props.changeSidebarState(true);
}

onChangeEditorValue = value => {
onChangeEditorValue = (value) => {
const chartData = {
data: value.data,
layout: value.layout,
Expand Down Expand Up @@ -48,7 +48,7 @@ class Edit extends Component {
<ChartEditor
value={chartData}
provider_url={this.props.data?.url}
onChangeValue={value => {
onChangeValue={(value) => {
this.onChangeEditorValue(value);
}}
/>
Expand All @@ -70,8 +70,4 @@ class Edit extends Component {
}
}

export default connect(
null,
{ changeSidebarState },
)(Edit);

export default connect(null, { changeSidebarState })(Edit);

0 comments on commit e35fd90

Please sign in to comment.