Skip to content

Commit 1c729a7

Browse files
committed
fix: delete funnel dialog
1 parent 066fed1 commit 1c729a7

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

apps/dashboard/app/(main)/websites/[id]/funnels/_components/delete-funnel-dialog.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function DeleteFunnelDialog({
2525
}: DeleteFunnelDialogProps) {
2626
return (
2727
<AlertDialog onOpenChange={onClose} open={isOpen}>
28-
<AlertDialogContent className="fade-in-50 zoom-in-95 animate-in rounded-xl border-border/50 bg-gradient-to-br from-background to-muted/10 duration-300">
28+
<AlertDialogContent className="rounded-xl border-border/50">
2929
<AlertDialogHeader className="space-y-3">
3030
<div className="flex items-center gap-3">
3131
<div className="rounded-xl border border-destructive/20 bg-destructive/10 p-3">
@@ -47,11 +47,11 @@ export function DeleteFunnelDialog({
4747
</div>
4848
</AlertDialogHeader>
4949
<AlertDialogFooter className="gap-3 border-border/50 border-t pt-6">
50-
<AlertDialogCancel className="rounded-lg border-border/50 px-6 py-2 font-medium transition-all duration-300 hover:border-border hover:bg-muted/50">
50+
<AlertDialogCancel className="rounded-lg border-border/50 px-6 py-2 font-medium hover:border-border hover:bg-muted/50 cursor-pointer">
5151
Cancel
5252
</AlertDialogCancel>
5353
<AlertDialogAction
54-
className="rounded-lg bg-destructive px-6 py-2 font-medium text-destructive-foreground shadow-lg transition-all duration-300 hover:bg-destructive/90 hover:shadow-xl"
54+
className="rounded-lg bg-destructive px-6 py-2 font-medium text-destructive-foreground shadow-lg hover:bg-destructive/90 hover:shadow-xl cursor-pointer"
5555
onClick={onConfirm}
5656
>
5757
Delete Funnel

apps/dashboard/app/layout.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,12 @@ export default function RootLayout({
130130
trackScreenViews={true}
131131
trackWebVitals={true}
132132
/>
133-
<Script
134-
crossOrigin="anonymous"
135-
src="//unpkg.com/react-scan/dist/auto.global.js"
136-
/>
133+
{process.env.NODE_ENV === 'development' && (
134+
<Script
135+
crossOrigin="anonymous"
136+
src="//unpkg.com/react-scan/dist/auto.global.js"
137+
/>
138+
)}
137139
<body className="flex h-full min-h-screen flex-col bg-background text-foreground antialiased">
138140
<Providers>
139141
<main className="flex-1">{children}</main>

0 commit comments

Comments
 (0)