(action, initialStateProp)
| 7744 | return newState; |
| 7745 | } |
| 7746 | function mountActionState(action, initialStateProp) { |
| 7747 | if (isHydrating) { |
| 7748 | var ssrFormState = workInProgressRoot.formState; |
| 7749 | if (null !== ssrFormState) { |
| 7750 | a: { |
| 7751 | var JSCompiler_inline_result = currentlyRenderingFiber$1; |
| 7752 | if (isHydrating) { |
| 7753 | if (nextHydratableInstance) { |
| 7754 | b: { |
| 7755 | var JSCompiler_inline_result$jscomp$0 = nextHydratableInstance; |
| 7756 | for ( |
| 7757 | var inRootOrSingleton = rootOrSingletonContext; |
| 7758 | 8 !== JSCompiler_inline_result$jscomp$0.nodeType; |
| 7759 | |
| 7760 | ) { |
| 7761 | if (!inRootOrSingleton) { |
| 7762 | JSCompiler_inline_result$jscomp$0 = null; |
| 7763 | break b; |
| 7764 | } |
| 7765 | JSCompiler_inline_result$jscomp$0 = getNextHydratable( |
| 7766 | JSCompiler_inline_result$jscomp$0.nextSibling |
| 7767 | ); |
| 7768 | if (null === JSCompiler_inline_result$jscomp$0) { |
| 7769 | JSCompiler_inline_result$jscomp$0 = null; |
| 7770 | break b; |
| 7771 | } |
| 7772 | } |
| 7773 | inRootOrSingleton = JSCompiler_inline_result$jscomp$0.data; |
| 7774 | JSCompiler_inline_result$jscomp$0 = |
| 7775 | "F!" === inRootOrSingleton || "F" === inRootOrSingleton |
| 7776 | ? JSCompiler_inline_result$jscomp$0 |
| 7777 | : null; |
| 7778 | } |
| 7779 | if (JSCompiler_inline_result$jscomp$0) { |
| 7780 | nextHydratableInstance = getNextHydratable( |
| 7781 | JSCompiler_inline_result$jscomp$0.nextSibling |
| 7782 | ); |
| 7783 | JSCompiler_inline_result = |
| 7784 | "F!" === JSCompiler_inline_result$jscomp$0.data; |
| 7785 | break a; |
| 7786 | } |
| 7787 | } |
| 7788 | throwOnHydrationMismatch(JSCompiler_inline_result); |
| 7789 | } |
| 7790 | JSCompiler_inline_result = !1; |
| 7791 | } |
| 7792 | JSCompiler_inline_result && (initialStateProp = ssrFormState[0]); |
| 7793 | } |
| 7794 | } |
| 7795 | ssrFormState = mountWorkInProgressHook(); |
| 7796 | ssrFormState.memoizedState = ssrFormState.baseState = initialStateProp; |
| 7797 | JSCompiler_inline_result = { |
| 7798 | pending: null, |
| 7799 | lanes: 0, |
| 7800 | dispatch: null, |
| 7801 | lastRenderedReducer: actionStateReducer, |
| 7802 | lastRenderedState: initialStateProp |
| 7803 | }; |
no test coverage detected
searching dependent graphs…