chore: use query

This commit is contained in:
Joel
2024-11-07 16:42:32 +08:00
parent c7f8a0fc7b
commit 2dd9c64d34
2 changed files with 6 additions and 8 deletions

View File

@ -51,7 +51,7 @@ const ToolPicker: FC<Props> = ({
const { data: buildInTools } = useAllBuiltInTools()
const { data: customTools } = useAllCustomTools()
const { invalidate: invalidateCustomTools } = useInvalidateAllCustomTools()
const invalidateCustomTools = useInvalidateAllCustomTools()
const { data: workflowTools } = useAllWorkflowTools()
const handleAddedCustomTool = invalidateCustomTools