@skyscanner/backpack-web 38.10.0 → 38.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,7 +60,6 @@ const withInfiniteScroll = ComponentToExtend => class WithInfiniteScroll extends
60
60
  isListFinished: false,
61
61
  showSeeMore: false
62
62
  };
63
- this.props.dataSource.onDataChange(this.updateData);
64
63
  const thresholds = {
65
64
  small: 0.01,
66
65
  half: 0.5,
@@ -72,6 +71,7 @@ const withInfiniteScroll = ComponentToExtend => class WithInfiniteScroll extends
72
71
  });
73
72
  }
74
73
  componentDidMount() {
74
+ this.props.dataSource.onDataChange(this.updateData);
75
75
  this.fetchItems({
76
76
  elementsPerScroll: this.props.initiallyLoadedElements
77
77
  }).then(newState => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyscanner/backpack-web",
3
- "version": "38.10.0",
3
+ "version": "38.11.0",
4
4
  "description": "Backpack Design System web library",
5
5
  "repository": {
6
6
  "type": "git",