1
0
Fork 0
mirror of synced 2024-06-02 18:44:54 +12:00

Key client app layout rendering by builder store asset type to ensure preview is always remounted properly

This commit is contained in:
Andrew Kingston 2022-02-24 12:26:31 +00:00
parent 4eb4f20fb5
commit dd706d84fb

View file

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