From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +0800
Subject: [PATCH] 修改
---
app/components/base/prompt-editor/plugins/history-block/index.tsx | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/app/components/base/prompt-editor/plugins/history-block/index.tsx b/app/components/base/prompt-editor/plugins/history-block/index.tsx
index d51c986..78c7349 100644
--- a/app/components/base/prompt-editor/plugins/history-block/index.tsx
+++ b/app/components/base/prompt-editor/plugins/history-block/index.tsx
@@ -14,7 +14,6 @@
$createHistoryBlockNode,
HistoryBlockNode,
} from './node'
-import { noop } from 'lodash-es'
export const INSERT_HISTORY_BLOCK_COMMAND = createCommand('INSERT_HISTORY_BLOCK_COMMAND')
export const DELETE_HISTORY_BLOCK_COMMAND = createCommand('DELETE_HISTORY_BLOCK_COMMAND')
@@ -33,7 +32,7 @@
const HistoryBlock = memo(({
history = { user: '', assistant: '' },
- onEditRole = noop,
+ onEditRole = () => {},
onInsert,
onDelete,
}: HistoryBlockType) => {
--
Gitblit v1.8.0