@@ -239,7 +225,6 @@ export function CommandList({ children, className }: CommandListProps) {
)
}
-// Command Empty component
export function CommandEmpty({ children, className }: CommandEmptyProps) {
const { filteredItems } = useCommandContext()
@@ -252,7 +237,6 @@ export function CommandEmpty({ children, className }: CommandEmptyProps) {
)
}
-// Command Group component
export function CommandGroup({ children, className, heading }: CommandGroupProps) {
return (
{
- // Only register if value is defined
if (value) {
registerItem(value)
return () => unregisterItem(value)
}
}, [value, registerItem, unregisterItem])
- // Check if item should be displayed based on search
const shouldDisplay = filteredItems.includes(value)
if (!shouldDisplay) return null
@@ -315,12 +295,10 @@ export function CommandItem({
)
}
-// Command Separator component
export function CommandSeparator({ className }: CommandSeparatorProps) {
return
}
-// Export all components
export const ToolCommand = {
Root: Command,
Input: CommandInput,
diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/components/sub-block/components/tool-input/tool-input.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/components/sub-block/components/tool-input/tool-input.tsx
index 108bd9a8f..dcc48297e 100644
--- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/components/sub-block/components/tool-input/tool-input.tsx
+++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/components/sub-block/components/tool-input/tool-input.tsx
@@ -1189,7 +1189,13 @@ export function ToolInput({
-