Replies: 1 comment
-
They're doing similar work, but on differently-shaped objects. Maybe they could be consolidated into a more general function, but I'm not sure its worth it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Isn't
objectsToSortedOptions
doing the same thing assortOptions
? Can we get rid ofobjectsToSortedOptions
and its references?objectsToSortedOptions
gc-digital-talent/packages/forms/src/utils.ts
Lines 152 to 180 in bade5dc
sortOptions
gc-digital-talent/packages/forms/src/components/Select/Select.tsx
Lines 45 to 75 in bade5dc
Beta Was this translation helpful? Give feedback.
All reactions