We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93e2dfd commit 13a4a14Copy full SHA for 13a4a14
package/timeJump.js
@@ -28,7 +28,7 @@ module.exports = (origin, mode) => {
28
let index = 0;
29
const hooks = returnState();
30
// while loop through the memoize tree
31
- while (current) {
+ while (current && current.queue) { // allows time travel with useEffect
32
current.queue.dispatch(target.state[hooks[index]]);
33
// Reassign the current value
34
current = current.next;
0 commit comments