(target)
| 3618 | var restoreQueue = null; |
| 3619 | |
| 3620 | function restoreStateOfTarget(target) { |
| 3621 | // We perform this translation at the end of the event loop so that we |
| 3622 | // always receive the correct fiber here |
| 3623 | var internalInstance = getInstanceFromNode(target); |
| 3624 | if (!internalInstance) { |
| 3625 | // Unmounted |
| 3626 | return; |
| 3627 | } |
| 3628 | !(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; |
| 3629 | var props = getFiberCurrentPropsFromNode(internalInstance.stateNode); |
| 3630 | fiberHostComponent.restoreControlledState(internalInstance.stateNode, internalInstance.type, props); |
| 3631 | } |
| 3632 | |
| 3633 | var injection$2 = ReactControlledComponentInjection; |
| 3634 |
no test coverage detected