Fix missing reference

This commit is contained in:
Andrew Kingston 2024-08-12 14:03:31 +01:00
parent 47e4c668ec
commit 1f99ecc529
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
import { memo } from "@budibase/frontend-core" import { memo } from "@budibase/frontend-core"
const component = getContext("component") const component = getContext("component")
const { styleable } = getContext("sdk") const { styleable, builderStore } = getContext("sdk")
const context = getContext("context") const context = getContext("context")
let width let width
@ -127,7 +127,7 @@
data-cols={GridColumns} data-cols={GridColumns}
data-col-size={colSize} data-col-size={colSize}
> >
{#if inBuilder} {#if $builderStore.inBuilder}
<div class="underlay"> <div class="underlay">
{#each { length: GridColumns * rows } as _, idx} {#each { length: GridColumns * rows } as _, idx}
<div class="placeholder" class:first-col={idx % GridColumns === 0} /> <div class="placeholder" class:first-col={idx % GridColumns === 0} />