File tree Expand file tree Collapse file tree 2 files changed +983
-1114
lines changed
Expand file tree Collapse file tree 2 files changed +983
-1114
lines changed Original file line number Diff line number Diff line change @@ -292,22 +292,22 @@ export default function SubscriptionCard({
292292 </ div >
293293 < TopUpModal />
294294 </ div >
295- < div className = "flex justify-between items-center" >
296- < Dialog open = { isDialogOpen } onOpenChange = { setIsDialogOpen } >
297- < DialogTrigger asChild >
298- < Button
299- onClick = { handleCancelClick }
300- disabled = { isCanceling }
301- variant = "link"
302- className = "px-0 underline underline-offset-2 ml-auto text-muted-foreground "
303- >
304- { isCanceling
305- ? "Canceling..."
306- : isCanceled
307- ? "Subscription canceled, reactivate?"
308- : "Cancel Subscription" }
309- </ Button >
310- </ DialogTrigger >
295+ < div className = "flex items-center justify-between " >
296+ < Dialog open = { isDialogOpen } onOpenChange = { setIsDialogOpen } >
297+ < DialogTrigger asChild >
298+ < Button
299+ onClick = { handleCancelClick }
300+ disabled = { isCanceling }
301+ variant = "link"
302+ className = "ml-auto px-0 text-muted-foreground underline underline-offset-2"
303+ >
304+ { isCanceling
305+ ? "Canceling..."
306+ : isCanceled
307+ ? "Subscription canceled, reactivate?"
308+ : "Cancel Subscription" }
309+ </ Button >
310+ </ DialogTrigger >
311311 < DialogContent >
312312 < DialogHeader >
313313 < DialogTitle > Cancel Subscription</ DialogTitle >
You can’t perform that action at this time.
0 commit comments