chore: compact confirm modal

This commit is contained in:
Tristan Yang
2023-06-12 18:44:59 +08:00
parent ffe4d83c6c
commit b698138b67
4 changed files with 4 additions and 4 deletions
@@ -30,7 +30,7 @@ const LeaveConfirmModal: FC<Props> = ({ id, closeModal, handleNextStep }) => {
return ( return (
<Modal id="modal-modal"> <Modal id="modal-modal">
<StyledModal <StyledModal
className="compact" compact
title={t("channel.leave")} title={t("channel.leave")}
description={isOwner ? t("channel.transfer_desc") : t("channel.leave_desc")} description={isOwner ? t("channel.transfer_desc") : t("channel.leave_desc")}
buttons={ buttons={
@@ -55,7 +55,7 @@ const TransferOwnerModal: FC<Props> = ({ id, closeModal, withLeave = true }) =>
return ( return (
<Modal id="modal-modal"> <Modal id="modal-modal">
<StyledModal <StyledModal
className="compact" compact
title="Transfer Ownership" title="Transfer Ownership"
description={"This cannot be undone."} description={"This cannot be undone."}
buttons={ buttons={
@@ -34,7 +34,7 @@ const DeleteConfirmModal: FC<Props> = ({ id, closeModal }) => {
return ( return (
<Modal id="modal-modal"> <Modal id="modal-modal">
<StyledModal <StyledModal
className="compact" compact
title={t("channel.delete")} title={t("channel.delete")}
description={t("channel.delete_desc")} description={t("channel.delete_desc")}
buttons={ buttons={
+1 -1
View File
@@ -34,7 +34,7 @@ const DeleteConfirmModal: FC<Props> = ({ id, closeModal }) => {
return ( return (
<Modal id="modal-modal"> <Modal id="modal-modal">
<StyledModal <StyledModal
className="compact" compact
title={t("dm.delete")} title={t("dm.delete")}
description={t("dm.delete_desc")} description={t("dm.delete_desc")}
buttons={ buttons={