diff --git a/packages/gatsby-recipes/src/gui.js b/packages/gatsby-recipes/src/gui.js index 5321c53097ff6..49628f68d5ac5 100644 --- a/packages/gatsby-recipes/src/gui.js +++ b/packages/gatsby-recipes/src/gui.js @@ -174,6 +174,8 @@ const ContentfulSpace = ({ _uuid, ...props }) => { }, }) + const { children, ...editableProps } = props + const setProp = key => e => { const newState = { ...inputState, @@ -193,7 +195,7 @@ const ContentfulSpace = ({ _uuid, ...props }) => { return (
- {Object.entries(props).map(([key, value]) => ( + {Object.entries(editableProps).map(([key, value]) => (