(target)
| 3525 | var restoreQueue = null; |
| 3526 | |
| 3527 | function restoreStateOfTarget(target) { |
| 3528 | // We perform this translation at the end of the event loop so that we |
| 3529 | // always receive the correct fiber here |
| 3530 | var internalInstance = getInstanceFromNode(target); |
| 3531 | if (!internalInstance) { |
| 3532 | // Unmounted |
| 3533 | return; |
| 3534 | } |
| 3535 | !(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; |
| 3536 | var props = getFiberCurrentPropsFromNode(internalInstance.stateNode); |
| 3537 | fiberHostComponent.restoreControlledState(internalInstance.stateNode, internalInstance.type, props); |
| 3538 | } |
| 3539 | |
| 3540 | var injection$2 = ReactControlledComponentInjection; |
| 3541 |
no test coverage detected