remove fix (no longer needed)

This commit is contained in:
Matt Carroll
2025-04-29 15:44:57 -07:00
parent bf777c4b99
commit fbdd204466
+1 -1
View File
@@ -3261,7 +3261,7 @@ export function startHostTransition<F>(
function ensureFormComponentIsStateful(formFiber: Fiber) {
const existingStateHook: Hook | null = formFiber.memoizedState;
if (existingStateHook !== null && existingStateHook.next !== null) {
if (existingStateHook !== null) {
// This fiber was already upgraded to be stateful.
return existingStateHook;
}