Skip to content

Commit

Permalink
fix: issue fixed parsing mixins
Browse files Browse the repository at this point in the history
  • Loading branch information
jmjuanes committed Aug 16, 2022
1 parent 96685a2 commit f9ccc1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export const buildRule = (parent, styles, config, vars) => {
return styles.map(item => buildRule(parent, item, config, vars)).flat();
}
// Check for mixins to apply to this styles
if (typeof styles.apply === "string" && styles.apply) {
if (styles.apply) {
return buildRule(parent, buildMixin(styles, config), config, vars);
}
const result = [""];
Expand Down

0 comments on commit f9ccc1f

Please sign in to comment.