You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removed console import, not used, origin from the main export default function, and firstcall = false as a default parameter on the jump function. Also changed comments to better reflect what happens to a stateful component passed in as target to jump function
// prevState contains the states of the snapshots we are jumping FROM, not jumping TO
45
44
prevState=>{
46
45
Object.keys(prevState).forEach(key=>{
47
-
// if conditional below does not appear to ever be reached if all states are defined - leaving code in just in case codebases do have undefined states
48
-
if(!target.state[key]===undefined){
46
+
// the if conditional below does not appear to ever be reached if all states are defined - leaving code in just in case codebases do have undefined states
0 commit comments