1
0
Fork 0
mirror of synced 2024-09-19 10:48:30 +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 08ec8ca7db
commit fd76551909

View file

@ -108,7 +108,7 @@
<!-- Actual app --> <!-- Actual app -->
<div id="app-root"> <div id="app-root">
<CustomThemeWrapper> <CustomThemeWrapper>
{#key $screenStore.activeLayout._id} {#key `${$screenStore.activeLayout._id}-${$builderStore.previewType}`}
<Component <Component
isLayout isLayout
instance={$screenStore.activeLayout.props} instance={$screenStore.activeLayout.props}