(target)
| 3560 | var restoreQueue = null; |
| 3561 | |
| 3562 | function restoreStateOfTarget(target) { |
| 3563 | // We perform this translation at the end of the event loop so that we |
| 3564 | // always receive the correct fiber here |
| 3565 | var internalInstance = getInstanceFromNode(target); |
| 3566 | if (!internalInstance) { |
| 3567 | // Unmounted |
| 3568 | return; |
| 3569 | } |
| 3570 | !(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; |
| 3571 | var props = getFiberCurrentPropsFromNode(internalInstance.stateNode); |
| 3572 | fiberHostComponent.restoreControlledState(internalInstance.stateNode, internalInstance.type, props); |
| 3573 | } |
| 3574 | |
| 3575 | var injection$2 = ReactControlledComponentInjection; |
| 3576 |
no test coverage detected