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 f5f9859 commit b6c4d3eCopy full SHA for b6c4d3e
www/src/pages/extensions/langs/index.tsx
@@ -47,7 +47,7 @@ export const LangsDoc = () => {
47
<Toolbar>
48
<select value={language} onChange={(evn) => setLanguage(evn.target.value as LanguageName)}>
49
<option value="good">good</option>
50
- {langNames.map((name, idx) => {
+ {langNames.sort().map((name, idx) => {
51
return (
52
<option key={idx} value={name}>
53
{name}
www/src/pages/home/Example.tsx
@@ -110,7 +110,7 @@ export default function Example() {
110
<Tools>
111
<Select
112
label="Lang"
113
- options={Object.keys(langs)}
+ options={Object.keys(langs).sort()}
114
value={mode}
115
onChange={(evn) => handleLangChange(evn.target.value as keyof typeof langs)}
116
/>
0 commit comments