We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/activepieces/activepieces'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { todoActivityApi } from '@/features/todos/lib/todos-activitiy-api';
import { Todo } from '@activepieces/shared';
import { TodoTextarea } from './todo-textarea';
type TodoCreateCommentProps = {
todo: Todo;
refetchComments: () => void;
};
export const TodoCreateComment = ({
todo,
refetchComments,
}: TodoCreateCommentProps) => {
const handleSubmitComment = async (content: string) => {
if (todo.locked) return;
await todoActivityApi.create({
todoId: todo.id,
content: content,
});
refetchComments();
};
return (
<TodoTextarea
onSubmit={handleSubmitComment}
disabled={todo.locked}
title="Add a Comment"
/>
);
};