diff --git a/packages/builder/src/builderStore/store.js b/packages/builder/src/builderStore/store.js index 26173f915d..1653cdb6dd 100644 --- a/packages/builder/src/builderStore/store.js +++ b/packages/builder/src/builderStore/store.js @@ -827,6 +827,7 @@ const addTemplatedComponent = store => props => { state.currentComponentInfo._children = state.currentComponentInfo._children.concat( props ) + state.currentPreviewItem._css = generate_screen_css([state.currentPreviewItem.props]) _saveCurrentPreviewItem(state)