Skip to content

Commit

Permalink
chore: materialize confirm modal
Browse files Browse the repository at this point in the history
  • Loading branch information
svedova committed Oct 7, 2023
1 parent 5f49082 commit eafb8e2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/ConfirmModal/ConfirmModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import AlertTitle from "@mui/material/AlertTitle";
import Button from "@mui/lab/LoadingButton";
import Modal from "~/components/ModalV2";
import Form from "~/components/FormV2";
import Container from "~/components/Container";

type ConfirmModalCallback = ({
setLoading,
Expand Down Expand Up @@ -87,7 +86,7 @@ const ConfirmModal: React.FC<Props> = ({
<Typography>{error}</Typography>
</Alert>
)}
<div className="mt-12 text-sm flex justify-center">
<Box sx={{ textAlign: "center", mt: 4 }}>
<Button
color="info"
variant="text"
Expand All @@ -106,7 +105,7 @@ const ConfirmModal: React.FC<Props> = ({
>
{confirmText || "Yes, continue"}
</Button>
</div>
</Box>
</Box>
</Modal>
);
Expand Down

0 comments on commit eafb8e2

Please sign in to comment.