Skip to content

Commit

Permalink
chore: code refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
shivani170 committed Jan 13, 2025
1 parent 254aff0 commit 2935b32
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,7 @@ const CompareWithDropdown = ({
label: GROUPED_OPTION_LABELS.DefaultValues,
options:
defaultChartValues?.length > 0
? [...(defaultChartValues)].sort((a, b) =>
versionComparatorBySortOrder(a.version, b.version),
)
? [...defaultChartValues].sort((a, b) => versionComparatorBySortOrder(a.version, b.version))
: noOptions,
},
)
Expand Down

0 comments on commit 2935b32

Please sign in to comment.