(target)
| 2758 | var restoreQueue = null; |
| 2759 | |
| 2760 | function restoreStateOfTarget(target) { |
| 2761 | // We perform this translation at the end of the event loop so that we |
| 2762 | // always receive the correct fiber here |
| 2763 | var internalInstance = getInstanceFromNode(target); |
| 2764 | if (!internalInstance) { |
| 2765 | // Unmounted |
| 2766 | return; |
| 2767 | } |
| 2768 | !(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; |
| 2769 | var props = getFiberCurrentPropsFromNode(internalInstance.stateNode); |
| 2770 | fiberHostComponent.restoreControlledState(internalInstance.stateNode, internalInstance.type, props); |
| 2771 | } |
| 2772 | |
| 2773 | var injection$2 = ReactControlledComponentInjection; |
| 2774 |
no test coverage detected