Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Peter Noble <15157491+PeterShaggyNoble@users.noreply.github.com>
  • Loading branch information
Adam Rusted and PeterShaggyNoble authored Dec 21, 2023
1 parent f7bff0f commit d123ffd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,9 @@ export default async (env, argv) => {

return {
guidelines:
typeof icon.guidelines != 'object'
typeof icon.guidelines !== 'object'
? icon.guidelines
: icon.guidelines?.trademark ? icon.guidelines.trademark : icon.guidelines.branding,
: icon.guidelines.trademark ? icon.guidelines.trademark : icon.guidelines.branding,
hex: icon.hex,
indexByAlpha: iconIndex,
indexByColor: sortedHexes.indexOf(icon.hex),
Expand Down

0 comments on commit d123ffd

Please sign in to comment.