Skip to content

Commit 110c45f

Browse files
committed
refactor: clean up whitespace in region sorting function
1 parent 77944a0 commit 110c45f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/lib/helpers/regions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ export function filterRegions(regions: Models.ConsoleRegion[]): RegionOption[] {
1818
// Check if regions are truly available (not disabled and available)
1919
const aAvailable = !a.disabled && a.available;
2020
const bAvailable = !b.disabled && b.available;
21-
21+
2222
// Prioritize truly available regions
2323
if (aAvailable && !bAvailable) return -1;
2424
if (!aAvailable && bAvailable) return 1;
25-
25+
2626
// Within the same availability group, sort alphabetically
2727
return a.name.localeCompare(b.name);
2828
})

0 commit comments

Comments
 (0)