Skip to content

Commit

Permalink
feat(insights): remove new badge on region selector (#82388)
Browse files Browse the repository at this point in the history
The region selector has been release for a few weeks, so we can remove
the new badge.
  • Loading branch information
DominikB2014 authored Dec 19, 2024
1 parent 27ee597 commit c95dc64
Showing 1 changed file with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {type ComponentProps, Fragment} from 'react';
import styled from '@emotion/styled';

import FeatureBadge from 'sentry/components/badge/featureBadge';
import {
CompactSelect,
type SelectOption,
Expand Down Expand Up @@ -64,12 +63,7 @@ export default function SubregionSelector({size}: Props) {
size={size}
searchable
triggerProps={{
prefix: (
<Fragment>
<StyledFeatureBadge type="new" />
{t('Geo region')}
</Fragment>
),
prefix: t('Geo region'),
}}
multiple
loading={isPending}
Expand Down Expand Up @@ -103,10 +97,6 @@ export default function SubregionSelector({size}: Props) {
);
}

const StyledFeatureBadge = styled(FeatureBadge)`
margin-right: ${space(1)};
`;

const MenuTitleContainer = styled('div')`
display: flex;
align-items: center;
Expand Down

0 comments on commit c95dc64

Please sign in to comment.