Skip to content

Commit

Permalink
add comment for if
Browse files Browse the repository at this point in the history
  • Loading branch information
caalador committed Nov 23, 2020
1 parent c353038 commit b0da67d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ function generateThemeFile(themeFolder, themeName) {
themeFile += imports.join('');

// Don't format as the generated file formatting will get wonky!
// If targets check that we only register the style parts once, checks exist for global css and component css
const themeFileApply = `export const applyTheme = (target) => {
if (!target['${globalCssFlag}']) {
${globalCssCode.join('')}
Expand Down

0 comments on commit b0da67d

Please sign in to comment.