From f9ccc1f831cbe4e9ddb3359f9249ed5a4508b4ab Mon Sep 17 00:00:00 2001 From: Josemi Juanes Date: Tue, 16 Aug 2022 11:36:16 +0000 Subject: [PATCH] fix: issue fixed parsing mixins --- packages/core/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/index.js b/packages/core/index.js index ee2bf185..8331d1b1 100644 --- a/packages/core/index.js +++ b/packages/core/index.js @@ -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 = [""];