File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
apps/masterbots.ai/components Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 >
You can’t perform that action at this time.
0 commit comments