Skip to content

Commit 7ad5a6b

Browse files
committed
removed unnecessary bind
1 parent 4934652 commit 7ad5a6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/linkFiber.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module.exports = (snap, mode) => {
3232
oldSetState(state, () => {
3333
updateSnapShotTree();
3434
sendSnapshot();
35-
callback.bind(component)();
35+
callback();
3636
});
3737
};
3838
component.setState.linkFiberChanged = true;

0 commit comments

Comments
 (0)