From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001
From: wwf <yearningwang@iqtogether.com>
Date: 星期三, 04 六月 2025 15:17:49 +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