Browse Source

bugfix: css not applied after template component added

gh-pages
Michael Shanks 7 years ago
parent
commit
fad9337af9
  1. 1
      packages/builder/src/builderStore/store.js

1
packages/builder/src/builderStore/store.js

@ -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)

Loading…
Cancel
Save