Skip to content

Commit

Permalink
change: [M3-7676] - Remove VPC Details dismissible warning banner (#1…
Browse files Browse the repository at this point in the history
…1050)

* change: [M3-7676] - Remove VPC Details dismissible warning banner

* Added changeset: VPC Details dismissible warning banner
  • Loading branch information
harsh-akamai authored Oct 8, 2024
1 parent 7917700 commit 00bf61d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11050-removed-1728374181106.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Removed
---

VPC Details dismissible warning banner ([#11050](https://github.com/linode/manager/pull/11050))
13 changes: 0 additions & 13 deletions packages/manager/src/features/VPCs/VPCDetail/VPCDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { useParams } from 'react-router-dom';
import { Box } from 'src/components/Box';
import { StyledLinkButton } from 'src/components/Button/StyledLinkButton';
import { CircleProgress } from 'src/components/CircleProgress/CircleProgress';
import { DismissibleBanner } from 'src/components/DismissibleBanner/DismissibleBanner';
import { DocumentTitleSegment } from 'src/components/DocumentTitle';
import { EntityHeader } from 'src/components/EntityHeader/EntityHeader';
import { ErrorState } from 'src/components/ErrorState/ErrorState';
Expand All @@ -17,7 +16,6 @@ import { useRegionsQuery } from 'src/queries/regions/regions';
import { useVPCQuery } from 'src/queries/vpcs/vpcs';
import { truncate } from 'src/utilities/truncate';

import { REBOOT_LINODE_WARNING_VPCDETAILS } from '../constants';
import { getUniqueLinodesFromSubnets } from '../utils';
import { VPCDeleteDialog } from '../VPCLanding/VPCDeleteDialog';
import { VPCEditDrawer } from '../VPCLanding/VPCEditDrawer';
Expand Down Expand Up @@ -199,17 +197,6 @@ const VPCDetail = () => {
Subnets ({vpc.subnets.length})
</Typography>
</Box>
{numLinodes > 0 && (
<DismissibleBanner
preferenceKey={`reboot-linodes-warning-banner`}
sx={{ marginBottom: theme.spacing(2) }}
variant="warning"
>
<Typography variant="body1">
{REBOOT_LINODE_WARNING_VPCDETAILS}
</Typography>
</DismissibleBanner>
)}
<VPCSubnetsTable vpcId={vpc.id} vpcRegion={vpc.region} />
</>
);
Expand Down

0 comments on commit 00bf61d

Please sign in to comment.