From 20c624d3c9a74ec7c4262970386044c5d632fd6c Mon Sep 17 00:00:00 2001 From: Michael Shanks Date: Fri, 27 Mar 2020 15:28:33 +0000 Subject: [PATCH] rebuild page code when templated component added --- packages/builder/src/builderStore/store/index.js | 1 + 1 file changed, 1 insertion(+) 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