diff --git a/src/components/ui/dialog.tsx b/src/components/ui/dialog.tsx index 30b980c..75e07ef 100644 --- a/src/components/ui/dialog.tsx +++ b/src/components/ui/dialog.tsx @@ -4,7 +4,6 @@ import * as DialogPrimitive from "@radix-ui/react-dialog"; import { XIcon } from "lucide-react"; import type * as React from "react"; -import { useIsMobile } from "@/hooks/use-mobile"; import { cn } from "@/lib/utils"; function Dialog({ @@ -55,16 +54,13 @@ function DialogContent({ }: React.ComponentProps & { showCloseButton?: boolean; }) { - const isMobile = useIsMobile(); - return ( ) { } function DialogFooter({ className, ...props }: React.ComponentProps<"div">) { - const isMobile = useIsMobile(); - return (
);