Skip to content

Commit e9f90be

Browse files
authored
Fix failing checks: remove white space
1 parent 1e94cd3 commit e9f90be

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/cli-kit/src/private/node/ui/components/SelectInput.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,8 @@ function SelectInputInner<T>(
166166
const items = sortBy(rawItems, (item) => {
167167
// Items without groups ("Other") always go last
168168
if (!item.group) return Number.MAX_SAFE_INTEGER + 1
169-
170169
// If no groupOrder specified, use default behavior
171-
if (!groupOrder) return Number.MAX_SAFE_INTEGER
172-
170+
if (!groupOrder) return Number.MAX_SAFE_INTEGER
173171
// Items with groups get their position from groupOrder, or MAX_SAFE_INTEGER if not specified
174172
const index = groupOrder.indexOf(item.group)
175173
return index === -1 ? Number.MAX_SAFE_INTEGER : index

0 commit comments

Comments
 (0)