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 (
<Modal id="modal-modal">
<StyledModal
className="compact"
compact
title={t("channel.leave")}
description={isOwner ? t("channel.transfer_desc") : t("channel.leave_desc")}
buttons={
@@ -55,7 +55,7 @@ const TransferOwnerModal: FC<Props> = ({ id, closeModal, withLeave = true }) =>
return (
<Modal id="modal-modal">
<StyledModal
className="compact"
compact
title="Transfer Ownership"
description={"This cannot be undone."}
buttons={
@@ -34,7 +34,7 @@ const DeleteConfirmModal: FC<Props> = ({ id, closeModal }) => {
return (
<Modal id="modal-modal">
<StyledModal
className="compact"
compact
title={t("channel.delete")}
description={t("channel.delete_desc")}
buttons={
+1 -1
View File
@@ -34,7 +34,7 @@ const DeleteConfirmModal: FC<Props> = ({ id, closeModal }) => {
return (
<Modal id="modal-modal">
<StyledModal
className="compact"
compact
title={t("dm.delete")}
description={t("dm.delete_desc")}
buttons={