rebuild page code when templated component added

This commit is contained in:
Michael Shanks 2020-03-27 15:28:33 +00:00
parent b5473f29c6
commit 275e17a90d
1 changed files with 1 additions and 0 deletions

View File

@ -546,6 +546,7 @@ const addTemplatedComponent = store => props => {
)
state.currentPreviewItem._css = generate_screen_css([state.currentPreviewItem.props])
setCurrentPageFunctions(state)
_saveCurrentPreviewItem(state)
return state