generate css before saving screen

This commit is contained in:
Michael Shanks 2020-10-15 19:13:48 +01:00
parent 8f0be4c44c
commit 38bcf5c0c2
1 changed files with 1 additions and 1 deletions

View File

@ -161,8 +161,8 @@ const createScreen = store => async screen => {
state.currentPreviewItem = screen
state.currentComponentInfo = screen.props
state.currentFrontEndType = "screen"
savePromise = _saveScreen(store, state, screen)
regenerateCssForCurrentScreen(state)
savePromise = _saveScreen(store, state, screen)
return state
})
await savePromise