bugfix: css not applied after template component added

This commit is contained in:
Michael Shanks 2020-03-04 12:43:02 +00:00
parent 34f74d5d20
commit fad9337af9
1 changed files with 1 additions and 0 deletions

View File

@ -827,6 +827,7 @@ const addTemplatedComponent = store => props => {
state.currentComponentInfo._children = state.currentComponentInfo._children.concat( state.currentComponentInfo._children = state.currentComponentInfo._children.concat(
props props
) )
state.currentPreviewItem._css = generate_screen_css([state.currentPreviewItem.props])
_saveCurrentPreviewItem(state) _saveCurrentPreviewItem(state)