We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8569926 commit 3749690Copy full SHA for 3749690
src/components/onboarding/index.tsx
@@ -251,6 +251,9 @@ export function OnboardingOptionButtons({
251
}
252
return option;
253
})
254
+ // sort options by their index in OPTION_IDS
255
+ // so that the order of the options is consistent
256
+ // regardless of how the user passes them in
257
.sort((a, b) => {
258
const indexA = OPTION_IDS.indexOf(a.id);
259
const indexB = OPTION_IDS.indexOf(b.id);
0 commit comments