feat: [CDE-275]: Removed map from region dropdown (#2615)

* feat: [CDE-275]: Removed map from region dropdown
This commit is contained in:
Deepesh Kumar 2024-08-29 12:47:33 +00:00 committed by Harness
parent 7863f68bb3
commit cc22b367d5

View File

@ -68,7 +68,6 @@ export const SelectRegion = ({ options, disabled, defaultValue }: SelectRegionIn
return (
<Container>
<CDECustomDropdown
overridePopOverWidth
label={
<Layout.Horizontal spacing={'small'} flex={{ alignItems: 'center', justifyContent: 'flex-start' }}>
<Layout.Vertical>
@ -86,7 +85,6 @@ export const SelectRegion = ({ options, disabled, defaultValue }: SelectRegionIn
</Layout.Horizontal>
}
menu={
<Layout.Horizontal padding={{ top: 'small', bottom: 'small' }}>
<Menu>
{options.map(({ label }) => {
return (
@ -105,10 +103,6 @@ export const SelectRegion = ({ options, disabled, defaultValue }: SelectRegionIn
)
})}
</Menu>
<Menu>
<img src={getMapFromRegion(regionState?.toLowerCase() || '')} />
</Menu>
</Layout.Horizontal>
}
/>
</Container>