Skip to content

Commit dee417d

Browse files
committed
Remove unused method
1 parent 38b5d92 commit dee417d

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

modules/mixins/ScrollContext.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,6 @@ var ScrollContext = {
4646
};
4747
},
4848

49-
getInitialState: function () {
50-
var behavior = this.props.scrollBehavior;
51-
52-
if (typeof behavior === 'string')
53-
behavior = NAMED_SCROLL_BEHAVIORS[behavior];
54-
55-
return {
56-
scrollBehavior: behavior
57-
};
58-
},
59-
6049
componentWillMount: function () {
6150
invariant(
6251
this.getScrollBehavior() == null || canUseDOM,

0 commit comments

Comments
 (0)