(target)
| 3663 | var restoreQueue = null; |
| 3664 | |
| 3665 | function restoreStateOfTarget(target) { |
| 3666 | // We perform this translation at the end of the event loop so that we |
| 3667 | // always receive the correct fiber here |
| 3668 | var internalInstance = getInstanceFromNode(target); |
| 3669 | if (!internalInstance) { |
| 3670 | // Unmounted |
| 3671 | return; |
| 3672 | } |
| 3673 | !(fiberHostComponent && typeof fiberHostComponent.restoreControlledState === 'function') ? invariant(false, 'Fiber needs to be injected to handle a fiber target for controlled events. This error is likely caused by a bug in React. Please file an issue.') : void 0; |
| 3674 | var props = getFiberCurrentPropsFromNode(internalInstance.stateNode); |
| 3675 | fiberHostComponent.restoreControlledState(internalInstance.stateNode, internalInstance.type, props); |
| 3676 | } |
| 3677 | |
| 3678 | var injection$2 = ReactControlledComponentInjection; |
| 3679 |
no test coverage detected