diff --git a/seanime-web/src/components/ui/modal/drawer.tsx b/seanime-web/src/components/ui/modal/drawer.tsx index 68f5728e..1370d81a 100644 --- a/seanime-web/src/components/ui/modal/drawer.tsx +++ b/seanime-web/src/components/ui/modal/drawer.tsx @@ -1,10 +1,10 @@ "use client" import { Dialog, Transition } from "@headlessui/react" -import { cn, ComponentWithAnatomy, defineStyleAnatomy } from "../core" import { cva, VariantProps } from "class-variance-authority" import React, { Fragment } from "react" import { CloseButton, CloseButtonProps } from "../button" +import { cn, ComponentWithAnatomy, defineStyleAnatomy } from "../core" /* ------------------------------------------------------------------------------------------------- * Anatomy @@ -125,7 +125,6 @@ export const Drawer = React.forwardRef((props, ref) "relative z-50", )} onClose={onClose} - {...rest} ref={ref} > @@ -221,4 +220,4 @@ export const Drawer = React.forwardRef((props, ref) }) -Drawer.displayName = "Drawer" \ No newline at end of file +Drawer.displayName = "Drawer"