Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs: Fix example in creating-dynamic-blocks.md (#10786)
* Update creating-dynamic-blocks.md While posts are loading inside the edit method the `posts` variable is null, attempting to access `post[0]` causes an error "TypeError: Cannot read property '0' of null" and the block displays "This block has encountered an error and cannot be previewed." checking that posts has a value resolves this. * Added spacing to improve readability
- Loading branch information