Skip to content

Commit

Permalink
fix: has change true everytime
Browse files Browse the repository at this point in the history
  • Loading branch information
DESKTOP-939248N\apple committed May 20, 2021
1 parent 3a6618d commit e8da103
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const observerInit = () => {
window.dispatchEvent(new CustomEvent("newCoCreateCssStyles", {
detail: {
isOnload: false,
styleList: parsedCSS.join('\r\n')
styleList: concat.join('\r\n')
},
}));
}
Expand Down Expand Up @@ -285,7 +285,6 @@ const addParsingClassList = (classList) => {
for (let classname of classList) {
if (re_theme.exec(classname)) {
makeRuleForTheme(classname);
hasChanged = true;
} else if (re.exec(classname)) {
if (!selectorList.has(classname)) {
let re_at = /.+@.+/;
Expand Down

0 comments on commit e8da103

Please sign in to comment.