Gutenberg featured image checkbox – checkbox not correctly set on editing page reload
I think the problem might be that the spread operator is missing in a couple of places. This line: return { meta: { currentMeta, editedMeta }, }; in withSelect should be: return { meta: { …currentMeta, …editedMeta }, }; This makes the meta object be a copy of currentMeta (have all the same properties and … Read more