Skip to content

Commit

Permalink
fix: add early return
Browse files Browse the repository at this point in the history
Add early return

#411
  • Loading branch information
acd02 committed Mar 17, 2023
1 parent 0bd3828 commit 3cc0916
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/utils/tailwind-plugins/spark-theme/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ module.exports = plugin.withOptions(
})

Object.entries(themes).forEach(([key, value]) => {
if (key === 'default') {
return
}

const { missingItems, additionalItems } = retrieveArrayDifferences({
ref: getAllObjectKeys(themeUtils.defaultTheme),
comp: getAllObjectKeys(value),
Expand Down

0 comments on commit 3cc0916

Please sign in to comment.