Skip to content

Commit 2d36070

Browse files
committed
Update formatting
1 parent dac4499 commit 2d36070

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/SelectPanel/SelectPanel.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import {useId} from '../hooks/useId'
1+
import {SearchIcon} from '@primer/octicons-react'
22
import React, {useCallback, useMemo} from 'react'
33
import {AnchoredOverlay, AnchoredOverlayProps} from '../AnchoredOverlay'
44
import {AnchoredOverlayWrapperAnchorProps} from '../AnchoredOverlay/AnchoredOverlay'
5+
import Box from '../Box'
56
import {FilteredActionList, FilteredActionListProps} from '../FilteredActionList'
67
import Heading from '../Heading'
78
import {OverlayProps} from '../Overlay'
@@ -11,9 +12,9 @@ import {ItemInput} from '../deprecated/ActionList/List'
1112
import {DropdownButton} from '../deprecated/DropdownMenu'
1213
import {useProvidedRefOrCreate} from '../hooks'
1314
import {FocusZoneHookSettings} from '../hooks/useFocusZone'
15+
import {useId} from '../hooks/useId'
1416
import {useProvidedStateOrCreate} from '../hooks/useProvidedStateOrCreate'
1517
import {LiveRegion, LiveRegionOutlet, Message} from '../internal/components/LiveRegion'
16-
import {SearchIcon} from '@primer/octicons-react'
1718

1819
interface SelectPanelSingleSelection {
1920
selected: ItemInput | undefined
@@ -178,7 +179,7 @@ export function SelectPanel({
178179
? 'Showing all items'
179180
: items.length <= 0
180181
? 'No matching items'
181-
: `${items.length} matching ${items.length === 1 ? 'item' : 'items'}
182+
: `${items.length} matching ${items.length === 1 ? 'item' : 'items'}`
182183
}
183184
/>
184185
<Box sx={{display: 'flex', flexDirection: 'column', height: 'inherit', maxHeight: 'inherit'}}>

0 commit comments

Comments
 (0)