Skip to content

Commit ff200bd

Browse files
authored
Merge pull request #344 from topcoder-platform/TCA-455_sort-category-options
TCA-455 - sort the category options in homepage
2 parents 130cbb6 + 1f29680 commit ff200bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src-ts/tools/learn/welcome/available-courses-list/AvailableCoursesList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const AvailableCoursesList: FC<AvailableCoursesListProps> = (props: AvailableCou
3838
}> = useMemo(() => {
3939
return [
4040
{label: 'All Categories', value: '', orderIndex: -1},
41-
...Object.keys(certsByCategory).map((c) => ({
41+
...Object.keys(certsByCategory).sort().map((c) => ({
4242
label: c,
4343
value: c,
4444
})),

0 commit comments

Comments
 (0)