File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ module.exports = (snap, mode) => {
26
26
function changeSetState ( component ) {
27
27
console . log ( 'Component' , component ) ;
28
28
// check that setState hasn't been changed yet
29
- if ( component . setState . linkFiberChanged === true ) return ;
29
+ if ( component . setState . linkFiberChanged ) return ;
30
30
// make a copy of setState
31
31
const oldSetState = component . setState . bind ( component ) ;
32
32
// replace component's setState so developer doesn't change syntax
@@ -64,7 +64,7 @@ module.exports = (snap, mode) => {
64
64
65
65
// Helper function to traverse through the memoized state
66
66
function traverseHooks ( memoizedState ) {
67
- // Declare variables and assigned t return nextComponent;o 0th index and an empty object, respectively
67
+ // Declare variables and assigned to 0th index and an empty object, respectively
68
68
const memoized = { } ;
69
69
let index = 0 ;
70
70
astHooks = Object . values ( astHooks ) ;
You can’t perform that action at this time.
0 commit comments