Key client app layout rendering by builder store asset type to ensure preview is always remounted properly
This commit is contained in:
parent
08ec8ca7db
commit
fd76551909
|
@ -108,7 +108,7 @@
|
|||
<!-- Actual app -->
|
||||
<div id="app-root">
|
||||
<CustomThemeWrapper>
|
||||
{#key $screenStore.activeLayout._id}
|
||||
{#key `${$screenStore.activeLayout._id}-${$builderStore.previewType}`}
|
||||
<Component
|
||||
isLayout
|
||||
instance={$screenStore.activeLayout.props}
|
||||
|
|
Loading…
Reference in New Issue