Skip to content
Permalink
Browse files

Fix issue with missing columnId in updater on column spread (#1682)

  • Loading branch information
gyto23 authored and tannerlinsley committed Dec 3, 2019
1 parent 85153d2 commit d7da8b631d1e8886e7e612f161872115822aea7a
Showing with 5 additions and 1 deletion.
  1. +4 −0 CHANGELOG.md
  2. +1 −1 src/plugin-hooks/useRowState.js
@@ -1,3 +1,7 @@
## 7.0.0-beta.24

- Fixed an issue where `useRowState` would crash due to invalid initial state of previous cell state on `columnId` lookup

## 7.0.0-beta.23

- The internal `useMain` hook has been renamed to `useInstance`
@@ -81,7 +81,7 @@ function useInstance(instance) {
...old.cellState,
[columnId]: functionalUpdate(
value,
old.cellState[columnId] || {}
(old.cellState || {})[columnId] || {}
),
},
}

0 comments on commit d7da8b6

Please sign in to comment.
You can’t perform that action at this time.