February 13, 2018 at 6:46 am #41037
Aw, missed this at first glance. Simple solution 🙂
You’re defining the component inside your edit function.
It’s best to pull it out into its own file or at least up outside of the registerBlockType function 🙂
Let me know if that doesn’t work!