chore: compact confirm modal
This commit is contained in:
@@ -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={
|
||||||
|
|||||||
@@ -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={
|
||||||
|
|||||||
Reference in New Issue
Block a user