Skip to content

Commit a3cf01b

Browse files
ref(ui): Remove unused AutoCompleteRoot selector (#71077)
We're no longer using the autocomplete component in here
1 parent 50c0abb commit a3cf01b

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

static/app/components/group/assignedTo.tsx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import type {
1717
OnAssignCallback,
1818
SuggestedAssignee,
1919
} from 'sentry/components/deprecatedAssigneeSelectorDropdown';
20-
import {AutoCompleteRoot} from 'sentry/components/dropdownAutoComplete/menu';
2120
import LoadingIndicator from 'sentry/components/loadingIndicator';
2221
import * as SidebarSection from 'sentry/components/sidebarSection';
2322
import {IconSettings, IconUser} from 'sentry/icons';
@@ -307,7 +306,7 @@ function AssignedTo({
307306
</GuideAnchor>
308307
</Access>
309308
</StyledSidebarTitle>
310-
<StyledSidebarSectionContent>
309+
<SidebarSection.Content>
311310
<StyledAssigneeSelectorDropdown
312311
group={group}
313312
owners={owners}
@@ -316,7 +315,7 @@ function AssignedTo({
316315
onClear={() => handleAssigneeChange(null)}
317316
trigger={makeTrigger}
318317
/>
319-
</StyledSidebarSectionContent>
318+
</SidebarSection.Content>
320319
</SidebarSection.Wrap>
321320
);
322321
}
@@ -354,12 +353,6 @@ const ActorName = styled('div')`
354353
${p => p.theme.overflowEllipsis}
355354
`;
356355

357-
const StyledSidebarSectionContent = styled(SidebarSection.Content)`
358-
${AutoCompleteRoot} {
359-
display: block;
360-
}
361-
`;
362-
363356
const StyledSidebarTitle = styled(SidebarSection.Title)`
364357
justify-content: space-between;
365358
margin-right: -${space(1)};

0 commit comments

Comments
 (0)