Skip to content

Commit e4a917d

Browse files
committed
chore: lint
1 parent 5b0e22a commit e4a917d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/playground/config/i18n.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function buildLocales () {
111111
return acc
112112
}, <LocaleObject[]>[])
113113

114-
return useLocales.sort((a, b) => a.code.localeCompare(b.code))
114+
return useLocales.toSorted((a, b) => a.code.localeCompare(b.code))
115115
}
116116

117117
export const availableLocales = buildLocales()

0 commit comments

Comments
 (0)