Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
mkue committed Jan 4, 2024
1 parent 87a742a commit a6b7eb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const PopoverOnOpenChangeContext = React.createContext({
closeDelay: 200,
});

const Popover: FC<React.ComponentProps<typeof PopoverPrimitive.Root> & { openDelay: number; closeDelay: number }> = ({
const Popover: FC<React.ComponentProps<typeof PopoverPrimitive.Root> & { openDelay?: number; closeDelay?: number }> = ({
open,
onOpenChange,
openDelay = 0,
Expand Down

0 comments on commit a6b7eb2

Please sign in to comment.