Skip to content

Commit

Permalink
Merge pull request #3522 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 d18d1ab + 69b66a8 commit 852e9ef
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 @@ -133,7 +133,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 852e9ef

Please sign in to comment.