Skip to content

Commit

Permalink
fix(command): use correct interface
Browse files Browse the repository at this point in the history
  • Loading branch information
xiduzo committed Jan 16, 2025
1 parent cd8a477 commit c028dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/components/ui/command.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const Command = React.forwardRef<
Command.displayName = CommandPrimitive.displayName;

interface CommandDialogProps extends DialogProps {
filter?: (value: string, search: string, keywords: string[]) => number;
filter?: (value: string, search: string, keywords?: string[]) => number;
}

const CommandDialog = ({ children, filter, ...props }: CommandDialogProps) => {
Expand Down

0 comments on commit c028dfe

Please sign in to comment.