()
| 7293 | return workInProgressHook; |
| 7294 | } |
| 7295 | function updateWorkInProgressHook() { |
| 7296 | if (null === currentHook) { |
| 7297 | var nextCurrentHook = currentlyRenderingFiber$1.alternate; |
| 7298 | nextCurrentHook = |
| 7299 | null !== nextCurrentHook ? nextCurrentHook.memoizedState : null; |
| 7300 | } else nextCurrentHook = currentHook.next; |
| 7301 | var nextWorkInProgressHook = |
| 7302 | null === workInProgressHook |
| 7303 | ? currentlyRenderingFiber$1.memoizedState |
| 7304 | : workInProgressHook.next; |
| 7305 | if (null !== nextWorkInProgressHook) |
| 7306 | (workInProgressHook = nextWorkInProgressHook), |
| 7307 | (currentHook = nextCurrentHook); |
| 7308 | else { |
| 7309 | if (null === nextCurrentHook) { |
| 7310 | if (null === currentlyRenderingFiber$1.alternate) |
| 7311 | throw Error(formatProdErrorMessage(467)); |
| 7312 | throw Error(formatProdErrorMessage(310)); |
| 7313 | } |
| 7314 | currentHook = nextCurrentHook; |
| 7315 | nextCurrentHook = { |
| 7316 | memoizedState: currentHook.memoizedState, |
| 7317 | baseState: currentHook.baseState, |
| 7318 | baseQueue: currentHook.baseQueue, |
| 7319 | queue: currentHook.queue, |
| 7320 | next: null |
| 7321 | }; |
| 7322 | null === workInProgressHook |
| 7323 | ? (currentlyRenderingFiber$1.memoizedState = workInProgressHook = |
| 7324 | nextCurrentHook) |
| 7325 | : (workInProgressHook = workInProgressHook.next = nextCurrentHook); |
| 7326 | } |
| 7327 | return workInProgressHook; |
| 7328 | } |
| 7329 | var createFunctionComponentUpdateQueue; |
| 7330 | createFunctionComponentUpdateQueue = function () { |
| 7331 | return { lastEffect: null, events: null, stores: null, memoCache: null }; |
no test coverage detected
searching dependent graphs…