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/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