bugfix: css not applied after template component added

This commit is contained in:
Michael Shanks 2020-03-04 12:43:02 +00:00
parent 8546fd6da9
commit 6ff54434ab
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(
props
)
state.currentPreviewItem._css = generate_screen_css([state.currentPreviewItem.props])
_saveCurrentPreviewItem(state)