File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -94,17 +94,7 @@ async function updateReactFiberTree(
94
94
const functionalComponent = componentActionsRecord . getComponentByIndexHooks ( hooksIndex ) ;
95
95
// Update component state
96
96
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 ] )
108
98
}
109
99
// Iterate through new children after state has been set
110
100
targetSnapshot . children . forEach ( ( child ) => updateReactFiberTree ( child ) ) ;
You can’t perform that action at this time.
0 commit comments