Commit 2db4456
committed
Don´t run corrupt state check on state change
The goal of useTableFilterStateValidation
is to fix state when switching between ui versions.
We do not need to fix state while the app is running,
Therefore I think it is reasonable to run it only once on load, in order
to reduce rerenders.1 parent 3d3bd0b commit 2db4456
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
26 | 27 | | |
0 commit comments