Skip to content

Commit

Permalink
fix type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
5rahim committed Jan 12, 2024
1 parent d304ca5 commit 3c053ac
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions seanime-web/src/components/ui/modal/drawer.tsx
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -125,7 +125,6 @@ export const Drawer = React.forwardRef<HTMLDivElement, DrawerProps>((props, ref)
"relative z-50",
)}
onClose={onClose}
{...rest}
ref={ref}
>

Expand Down Expand Up @@ -221,4 +220,4 @@ export const Drawer = React.forwardRef<HTMLDivElement, DrawerProps>((props, ref)

})

Drawer.displayName = "Drawer"
Drawer.displayName = "Drawer"

0 comments on commit 3c053ac

Please sign in to comment.