Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogasp committed Nov 19, 2024
1 parent f6bbdc2 commit 23d10c2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/Combobox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,14 @@ import { Group } from "@/models/groups";
type Searchable = User | Group;

type ComboboxProps<T extends Searchable> = {
hidden?: boolean;
searchCallback: (query: string) => Promise<T[]>;
onSelected: (item: T) => void;
};

export default function Combobox<T extends Searchable>(
props: Readonly<ComboboxProps<T>>
) {
const { hidden, onSelected, searchCallback } = props;
const { onSelected, searchCallback } = props;
const [items, setItems] = useState<T[]>([]);
const itemNotFound = {
id: "-1",
Expand Down

0 comments on commit 23d10c2

Please sign in to comment.