This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent (but not fix) ‘Cannot read property 'getIn' of undefined’ in …
…getUpdatedSelectionState Summary: `getBlockTree()` can sometimes return undefined, despite its Flow type saying it always returns a list (eg. `List<any>`). This change protects against this possibility, falling back to the dev-time console warning below. We can address the root cause later. Reviewed By: claudiopro Differential Revision: D19799354 fbshipit-source-id: 39a04a5de80853e5be76020a906f08a6c213685d
- Loading branch information