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/workflow/workflow-history-store.tsx |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/app/components/workflow/workflow-history-store.tsx b/app/components/workflow/workflow-history-store.tsx
index 52132f3..a49e9b6 100644
--- a/app/components/workflow/workflow-history-store.tsx
+++ b/app/components/workflow/workflow-history-store.tsx
@@ -4,9 +4,8 @@
 import isDeepEqual from 'fast-deep-equal'
 import type { Edge, Node } from './types'
 import type { WorkflowHistoryEvent } from './hooks'
-import { noop } from 'lodash-es'
 
-export const WorkflowHistoryStoreContext = createContext<WorkflowHistoryStoreContextType>({ store: null, shortcutsEnabled: true, setShortcutsEnabled: noop })
+export const WorkflowHistoryStoreContext = createContext<WorkflowHistoryStoreContextType>({ store: null, shortcutsEnabled: true, setShortcutsEnabled: () => {} })
 export const Provider = WorkflowHistoryStoreContext.Provider
 
 export function WorkflowHistoryProvider({

--
Gitblit v1.8.0