Skip to content

Commit

Permalink
filter undefined styles
Browse files Browse the repository at this point in the history
  • Loading branch information
robinweser committed Apr 18, 2024
1 parent a79f68e commit fd03c14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/brandeur/src/createHooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export default function createHooks({
return fn(
...styles
.flat(Infinity)
.filter(Boolean)
.map((style) =>
processStyle(resolveStyle(style, theme, keyframeNames), plugins)
)
Expand Down

0 comments on commit fd03c14

Please sign in to comment.