diff --git a/packages/builder/src/builderStore/store/index.js b/packages/builder/src/builderStore/store/index.js index 4b41db5f44..736610dd0b 100644 --- a/packages/builder/src/builderStore/store/index.js +++ b/packages/builder/src/builderStore/store/index.js @@ -546,6 +546,7 @@ const addTemplatedComponent = store => props => { ) state.currentPreviewItem._css = generate_screen_css([state.currentPreviewItem.props]) + setCurrentPageFunctions(state) _saveCurrentPreviewItem(state) return state