Skip to content

Commit

Permalink
Merge pull request #3523 from bettyblocks/fix/conditional-should-not-…
Browse files Browse the repository at this point in the history
…show-placeholder-styling-PAGE-4853

fix: only apply empty styling in dev mode
  • Loading branch information
ingmar-stipriaan authored Nov 6, 2024
2 parents 25fe965 + 69b66a8 commit 602097f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/conditional.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
return (
<div
className={includeStyling(
children.length === 0 ? classes.empty : undefined,
children.length === 0 && isDev ? classes.empty : undefined,
)}
data-component={useText(dataComponentAttribute) || 'Conditional'}
>
Expand Down

0 comments on commit 602097f

Please sign in to comment.