Skip to content

Commit

Permalink
fix create resource instance models (#502)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohandholu43 authored Jan 20, 2025
1 parent 43538ac commit f0ad6e2
Showing 1 changed file with 7 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import Button from "src/components/Button/Button";
import { Text } from "src/components/Typography/Typography";
import CloseIcon from "@mui/icons-material/Close";
import InstructionsModalIcon from "src/components/Icons/AccountConfig/InstructionsModalIcon";
import ArrowBulletIcon from "src/components/Icons/ArrowIcon/ArrowBulletIcon";
import CopyToClipboardButton from "src/components/CopyClipboardButton/CopyClipboardButton";

const StyledContainer = styled(Box)({
Expand Down Expand Up @@ -50,17 +49,6 @@ const List = styled(Box)({
marginTop: "12px",
});

const ListItem = styled(Box)({
display: "flex",
justifyContent: "flex-start",
alignItems: "flex-start",
gap: "12px",
});

const ListItemIcon = styled(Box)({
flexShrink: 0,
});

const BodyText = ({ children, ...restProps }) => {
return (
<Text size="small" weight="medium" color="#344054" {...restProps}>
Expand Down Expand Up @@ -155,32 +143,15 @@ function CreateResourceInstanceModel(props) {
within a few minutes). You can track its status in the dashboard.
Below is the Instance ID for your reference.
</BodyText>
<InstanceIdContainer instanceId={instanceId} />
<List>
<ListItem>
<ListItemIcon>
<ArrowBulletIcon />
</ListItemIcon>
<Box display={"flex"} flexDirection={"column"} gap={"10px"}>
<BodyText>
Your instance is being set up and will be ready shortly
(usually within a few minutes). You can track its status in
the dashboard. Below is the Instance ID for your reference.
</BodyText>
<InstanceIdContainer instanceId={instanceId} />
</Box>
</ListItem>
{isCustomDNS && (
<ListItem>
<ListItemIcon>
<ArrowBulletIcon />
</ListItemIcon>

<BodyText>
As you have configured a custom DNS, please visit the Custom
DNS tab for the details you need to configure it with your DNS
provider.
</BodyText>
</ListItem>
<BodyText>
As you have provided a custom DNS, it will need to be configured
with your DNS provider. The configuration details will be
available after some time. Please revisit the Custom DNS tab
later to access the necessary information.
</BodyText>
)}
</List>
</Content>
Expand Down

0 comments on commit f0ad6e2

Please sign in to comment.