Skip to content

Commit

Permalink
fix: disable cache cxs due to incorrect @media order
Browse files Browse the repository at this point in the history
  • Loading branch information
kirkov committed Jul 3, 2018
1 parent 09d28ae commit dcab1db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/cxs.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const parse = (obj, child = '', media) =>
return parse(val, c2, m2 || media)
}
const _key = key + val + child + media
if (cache[_key]) return cache[_key]
// if (cache[_key]) return cache[_key]
const className = prefix + (rules.length).toString(36)
insert(mx(rx(className + noAnd(child), key, val), media), !!media)
cache[_key] = className
Expand Down

0 comments on commit dcab1db

Please sign in to comment.