Debugging

This commit is contained in:
Dean 2024-03-15 15:13:16 +00:00
parent 85565aaf2a
commit ea25800663
1 changed files with 12 additions and 1 deletions

View File

@ -281,7 +281,18 @@
</div>
</div>
{/if}
<div class="main-wrapper">
<div
class="main-wrapper"
on:click={() => {
// inBuilder
// check selected
// selectedComponentId : "ce300d7f6c08b432b8db18d11690932f5"
console.log("Screen check ", $builderStore)
if ($builderStore.inBuilder) {
builderStore.actions.selectComponent(null)
}
}}
>
<div class="main size--{pageWidthClass}">
<slot />
</div>