cogsbox-state 0.5.293 → 0.5.294

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cogsbox-state",
3
- "version": "0.5.293",
3
+ "version": "0.5.294",
4
4
  "description": "React state management library with form controls and server sync",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/CogsState.tsx CHANGED
@@ -1847,7 +1847,7 @@ function createProxyHandler<T>(
1847
1847
  currentHeight += getItemHeight(i);
1848
1848
  }
1849
1849
 
1850
- console.log("totalHeight", totalHeight);
1850
+ console.log("totalHeight", currentHeight);
1851
1851
  return { totalHeight: currentHeight, positions: pos };
1852
1852
  }, [totalCount, getItemHeight]);
1853
1853