Skip to content

Commit d224f2d

Browse files
Update timeJump.ts
Removed console.log
1 parent b6cf3e6 commit d224f2d

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/backend/controllers/timeJump.ts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,17 +94,7 @@ async function updateReactFiberTree(
9494
const functionalComponent = componentActionsRecord.getComponentByIndexHooks(hooksIndex);
9595
// Update component state
9696
for (let i in functionalComponent) {
97-
try {
98-
await functionalComponent[i].dispatch(Object.values(hooksState)[i])
99-
} catch(err) {
100-
console.log('error in timeJump')
101-
console.log('hooksIndex', hooksIndex)
102-
console.log('hookState', hooksState)
103-
console.log('[i]', i)
104-
console.log('functionalComponent', functionalComponent)
105-
console.log('functionalComponent[i]', functionalComponent[i])
106-
console.log(err)
107-
}
97+
await functionalComponent[i].dispatch(Object.values(hooksState)[i])
10898
}
10999
// Iterate through new children after state has been set
110100
targetSnapshot.children.forEach((child) => updateReactFiberTree(child));

0 commit comments

Comments
 (0)