We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 540cd9d commit db460e5Copy full SHA for db460e5
dev-reactime/linkFiber.js
@@ -116,7 +116,7 @@ module.exports = (snap, mode) => {
116
// Save component's state and setState() function to our record for future
117
// time-travel state changing. Add record index to snapshot so we can retrieve.
118
componentData.index = componentActionsRecord.saveNew(stateNode.state, stateNode);
119
- newState.state = stateNode.state;
+ newState = {state: stateNode.state};
120
componentFound = true;
121
}
122
0 commit comments