diff --git a/packages/ui/components/DropdownChipInput.tsx b/packages/ui/components/DropdownChipInput.tsx index 07833d2e7..e85ab2959 100644 --- a/packages/ui/components/DropdownChipInput.tsx +++ b/packages/ui/components/DropdownChipInput.tsx @@ -1,6 +1,5 @@ import { FunctionComponent, KeyboardEvent, useRef } from 'react'; -import { DropdownMenuCheckboxItemProps } from "@radix-ui/react-dropdown-menu" import { Chip } from './Chip'; import { DropdownMenu, @@ -11,7 +10,6 @@ import { import { PlusCircleIcon } from './icons'; import { cn } from '@asyncapi/studio-utils'; -type Checked = DropdownMenuCheckboxItemProps["checked"] interface DropdownChipInputProps { className?: string; @@ -56,12 +54,10 @@ export const DropdownChipInput: FunctionComponent = ({ return (
-
{chips.length === 0 && placeholder && {placeholder}} {chips.map((chip, index) => ( ))} -