mirror of
https://github.com/modrinth/code.git
synced 2026-08-31 12:05:53 +00:00
pnpm prepr
This commit is contained in:
@@ -507,10 +507,7 @@ function loaderLabel(loader: string) {
|
||||
return formatMessage(getTagMessage(loader, 'loader') ?? messages.unknownLoader)
|
||||
}
|
||||
|
||||
function comparePlatformOptions(
|
||||
a: ComboboxOption<string>,
|
||||
b: ComboboxOption<string>,
|
||||
) {
|
||||
function comparePlatformOptions(a: ComboboxOption<string>, b: ComboboxOption<string>) {
|
||||
const aRank = preferredPlatformRanks.get(a.value) ?? Number.MAX_SAFE_INTEGER
|
||||
const bRank = preferredPlatformRanks.get(b.value) ?? Number.MAX_SAFE_INTEGER
|
||||
|
||||
|
||||
Reference in New Issue
Block a user