1
0
Fork 0
mirror of synced 2024-10-02 18:16:29 +13:00

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

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)