Commit 7b5ffb8
Fix missing deps in useEffect doing page index outbound check (KevinVandy#1257)
While loading the totalRowCount is 0 resulting in setPageIndex(-1).
The 'return' on first line should be hit.1 parent f842d32 commit 7b5ffb8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
0 commit comments