mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
47cf4e578c
## Summary I refactored this code in #26290 but forgot to add guards when the fiber or the state node where null, and this is typed as `any` so Flow didn't catch it. This restores the same logic to guard against null. ## How did you test this change? Existing tests.