Skip to content

Commit

Permalink
fix: only apply empty styling in dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ingmar-stipriaan committed Nov 6, 2024
1 parent 25fe965 commit 69b66a8
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 69b66a8

Please sign in to comment.