diff --git a/src/drafts/SelectPanel2/SelectPanel.tsx b/src/drafts/SelectPanel2/SelectPanel.tsx index 8c5ed602d75..c714411f33e 100644 --- a/src/drafts/SelectPanel2/SelectPanel.tsx +++ b/src/drafts/SelectPanel2/SelectPanel.tsx @@ -8,7 +8,6 @@ import { IconButton, Heading, Box, - Tooltip, TextInput, TextInputProps, Spinner, @@ -16,6 +15,7 @@ import { ActionListProps, Octicon, } from '../../../src/index' +import {Tooltip} from '../../../src/drafts' import {ActionListContainerContext} from '../../../src/ActionList/ActionListContainerContext' import {useSlots} from '../../hooks/useSlots' import {useProvidedRefOrCreate, useId, useAnchoredPosition} from '../../hooks' @@ -327,11 +327,11 @@ const SelectPanelHeader: React.FC = ({children, ...prop {/* Will not need tooltip after https://github.com/primer/react/issues/2008 */} {onClearSelection ? ( - - + + ) : null} - + onCancel()} />