Skip to content

Commit d9c7708

Browse files
committed
fix: update
1 parent 5495794 commit d9c7708

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

apps/masterbots.ai/components/subscription.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ export default function Subscription({ user }: { user: { email: string; name: st
2929
handleSetUser(user)
3030

3131
const handleCloseWizard = async () => {
32+
3233
const del = await handleDeleteCustomer(user?.email)
3334
handleSetLoading(false)
3435
handleSetError('')
36+
if (!openDialog) return router.push('/c/p')
3537
if (del) return router.push('/chat')
3638
}
3739

apps/masterbots.ai/components/ui/wizard/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const DialogWizard: React.FC<DialogWizardProps> = ({
4848
}) => {
4949
return (
5050
<Dialog open={dialogOpen} onOpenChange={handleCloseWizard}>
51-
<DialogContent className="rounded-sm md:h-auto h-screen md:min-h-[540px] w-full md:w-11/12 p-0 md:max-w-2xl z-50 bg-gray-100 dark:bg-[#27272A] border border-black overflow-y-auto">
51+
<DialogContent className="rounded-sm max-h-screen md:min-h-[540px] w-full md:w-11/12 p-0 md:max-w-2xl z-50 bg-gray-100 dark:bg-[#27272A] border border-black overflow-y-scroll">
5252
<DialogHeader className="sticky top-0 flex z-50 md:max-h-auto max-h-20 justify-between mb-0 items-center dark:bg-[#1E293B] bg-gray-200 dark:text-white text-black p-5 pb-10">
5353
<DialogTitle>{headerTitle}</DialogTitle>
5454
</DialogHeader>

0 commit comments

Comments
 (0)