forked from Archives/Athou_commafeed
replace toSorted usage with sort (#1183)
This commit is contained in:
@@ -39,7 +39,7 @@ export function CategorySelect(props: CategorySelectProps) {
|
||||
label: categoryLabel(c),
|
||||
value: c.id,
|
||||
}))
|
||||
.toSorted((c1, c2) => c1.label.localeCompare(c2.label))
|
||||
.sort((c1, c2) => c1.label.localeCompare(c2.label))
|
||||
if (props.withAll) {
|
||||
selectData?.unshift({
|
||||
label: t`All`,
|
||||
|
||||
Reference in New Issue
Block a user