From 03b7102abf918104d8c6965f8498b577f3b4ead2 Mon Sep 17 00:00:00 2001 From: huccct Date: Wed, 19 Mar 2025 10:41:44 +0000 Subject: [PATCH] chore: fix scroll bug --- src/components/ui/dialog.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/ui/dialog.tsx b/src/components/ui/dialog.tsx index b4ec41c..40faaf3 100644 --- a/src/components/ui/dialog.tsx +++ b/src/components/ui/dialog.tsx @@ -4,7 +4,6 @@ import { X } from "lucide-react" import * as React from "react" import { NiceModalHandler } from "@ebay/nice-modal-react" -import ShadowWrapper from "@src/components/layouts/ShadowWrapper" import { cn } from "@src/lib/utils" type ExtendedDialogProps = { @@ -63,22 +62,22 @@ const DialogContent = React.forwardRef< >(({ className, children, ...props }, ref) => ( - +
{children} - + Close - +
)) DialogContent.displayName = DialogPrimitive.Content.displayName