diff --git a/packages/toolkit/package.json b/packages/toolkit/package.json index 86eee377d1..8092e22b14 100644 --- a/packages/toolkit/package.json +++ b/packages/toolkit/package.json @@ -1,6 +1,6 @@ { "name": "@instill-ai/toolkit", - "version": "0.97.0-rc.30", + "version": "0.97.0-rc.34", "description": "Instill AI's frontend toolkit", "repository": "https://github.com/instill-ai/design-system.git", "bugs": "https://github.com/instill-ai/design-system/issues", diff --git a/packages/toolkit/src/view/knowledge/components/CreateKnowledgeBaseCard.tsx b/packages/toolkit/src/view/knowledge/components/CreateKnowledgeBaseCard.tsx index fd6d66e869..532097b475 100644 --- a/packages/toolkit/src/view/knowledge/components/CreateKnowledgeBaseCard.tsx +++ b/packages/toolkit/src/view/knowledge/components/CreateKnowledgeBaseCard.tsx @@ -25,13 +25,15 @@ type MenuProps = { onEdit: (e: React.MouseEvent) => void; onDuplicate: (e: React.MouseEvent) => void; disabled: boolean; + isOpen: boolean; + setIsOpen: (isOpen: boolean) => void }; -const Menu = ({ onDelete, onEdit, onDuplicate, disabled }: MenuProps) => { +const Menu = ({ onDelete, onEdit, onDuplicate, disabled, isOpen, setIsOpen }: MenuProps) => { return (
- +