Skip to content

Commit

Permalink
Kurt Cobain
Browse files Browse the repository at this point in the history
  • Loading branch information
irsyadadl committed Sep 1, 2024
1 parent bea8a2a commit aa8fbc1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/ui/popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ const Popover = ({ children, ...props }: { children: React.ReactNode }) => {
}

const Title = ({ level = 2, className, ...props }: React.ComponentProps<typeof Dialog.Title>) => (
<Dialog.Title className={cn("sm:leading-none", level === 2 && 'sm:text-lg', className)} {...props} />
<Dialog.Title
className={cn("sm:leading-none", level === 2 && "sm:text-lg", className)}
{...props}
/>
)

const Header = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (
Expand Down

0 comments on commit aa8fbc1

Please sign in to comment.