Skip to content

Commit

Permalink
Merge pull request #148 from StipJey/master
Browse files Browse the repository at this point in the history
fix issue 147
  • Loading branch information
malte-wessel authored Apr 22, 2017
2 parents adfbc23 + a30b42a commit ec33333
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/Scrollbars/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,9 @@ export default class Scrollbars extends Component {
this.handleDrag = this.handleDrag.bind(this);
this.handleDragEnd = this.handleDragEnd.bind(this);

this.state = this.getInitialState();
}

getInitialState() {
return {
didMountUniversal: false
};
this.state = {
didMountUniversal: false
};
}

componentDidMount() {
Expand Down

0 comments on commit ec33333

Please sign in to comment.