cogsbox-state 0.5.392 → 0.5.393

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.392",
3
+ "version": "0.5.393",
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
@@ -2379,7 +2379,7 @@ function createProxyHandler<T>(
2379
2379
  children: callbackfn(
2380
2380
  item,
2381
2381
  setter,
2382
- localIndex,
2382
+ originalIndex,
2383
2383
  arrayToMap as any,
2384
2384
  rebuildStateShape(arrayToMap as any, path, meta)
2385
2385
  ),