Skip to content

Commit 3e34891

Browse files
committed
fix CustomerCancellationModal
1 parent c016605 commit 3e34891

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clients/apps/web/src/components/Subscriptions/CustomerCancellationModal.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const CancellationReasonRadio = ({
4242
}
4343

4444
interface CustomerCancellationModalProps
45-
extends Omit<ModalProps, 'modalContent'> {
45+
extends Omit<ModalProps, 'title' | 'modalContent'> {
4646
subscription: schemas['CustomerSubscription']
4747
cancelSubscription: ReturnType<typeof useCustomerCancelSubscription>
4848
onAbort?: () => void
@@ -103,6 +103,7 @@ const CustomerCancellationModal = ({
103103
return (
104104
<Modal
105105
{...props}
106+
title="Cancel Subscription"
106107
className="md:min-w-[600px]"
107108
modalContent={
108109
<div className="flex flex-col gap-y-6 p-6 sm:p-12">

0 commit comments

Comments
 (0)