Skip to content

Commit 2e1d523

Browse files
committed
Missing string
1 parent bb218b6 commit 2e1d523

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

webview-ui/src/components/chat/UpdateTodoListToolBlock.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React, { useState, useEffect, useRef } from "react"
22
import { ToolUseBlock, ToolUseBlockHeader } from "../common/ToolUseBlock"
33
import MarkdownBlock from "../common/MarkdownBlock"
4-
import { useTranslation } from "react-i18next"
54

65
interface TodoItem {
76
id?: string
@@ -54,7 +53,6 @@ const UpdateTodoListToolBlock: React.FC<UpdateTodoListToolBlockProps> = ({
5453
editable = true,
5554
userEdited = false,
5655
}) => {
57-
const { t } = useTranslation()
5856
const [editTodos, setEditTodos] = useState<TodoItem[]>(
5957
todos.length > 0 ? todos.map((todo) => ({ ...todo, id: todo.id || genId() })) : [],
6058
)
@@ -429,7 +427,7 @@ const UpdateTodoListToolBlock: React.FC<UpdateTodoListToolBlockProps> = ({
429427
)}
430428
</ul>
431429
) : (
432-
<MarkdownBlock markdown={content || t("chat:fileOperations.todoListUpdated")} />
430+
<MarkdownBlock markdown={content} />
433431
)}
434432
</div>
435433
{/* Delete confirmation dialog */}

0 commit comments

Comments
 (0)