Skip to content

Commit

Permalink
Fixed #834 - Chart doesn't reload
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Apr 22, 2019
1 parent 36972af commit 15c59e3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/components/chart/Chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,6 @@ export class Chart extends Component {
}
}

shouldComponentUpdate(nextProps){
if(nextProps.data === this.props.data) {
return false;
}
return true;
}

render() {
let className = classNames('p-chart', this.props.className),
style = Object.assign({
Expand Down

0 comments on commit 15c59e3

Please sign in to comment.