Skip to content

Commit 17bd727

Browse files
committed
Fix failing checks: refresh documentation and prettier formatting
1 parent e9f90be commit 17bd727

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ function SelectInputInner<T>(
167167
// Items without groups ("Other") always go last
168168
if (!item.group) return Number.MAX_SAFE_INTEGER + 1
169169
// If no groupOrder specified, use default behavior
170-
if (!groupOrder) return Number.MAX_SAFE_INTEGER
170+
if (!groupOrder) return Number.MAX_SAFE_INTEGER
171171
// Items with groups get their position from groupOrder, or MAX_SAFE_INTEGER if not specified
172172
const index = groupOrder.indexOf(item.group)
173173
return index === -1 ? Number.MAX_SAFE_INTEGER : index

packages/cli-kit/src/public/node/ui.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -256,21 +256,21 @@ export interface RenderSelectPromptOptions<T> extends Omit<SelectPromptProps<T>,
256256
* ┃ • integrated-demand-ext
257257
* ┃ • order-discount
258258
*
259-
* Other
260-
* > first
261-
* second
262-
* third (limit reached)
263-
* fourth
264-
*
265259
* Automations
266-
* fifth
260+
* > fifth
267261
* sixth
268262
*
269-
* Other
270-
* seventh
271-
*
272263
* Merchant Admin
273264
* eighth
265+
* ninth
266+
*
267+
* Other
268+
* first
269+
* second
270+
* third (limit reached)
271+
* fourth
272+
* seventh
273+
* tenth
274274
*
275275
* Press ↑↓ arrows to select, enter to confirm.
276276
*

0 commit comments

Comments
 (0)