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/app/configuration/debug/debug-with-multiple-model/context.tsx | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/components/app/configuration/debug/debug-with-multiple-model/context.tsx b/app/components/app/configuration/debug/debug-with-multiple-model/context.tsx index 1fcd878..d95faf7 100644 --- a/app/components/app/configuration/debug/debug-with-multiple-model/context.tsx +++ b/app/components/app/configuration/debug/debug-with-multiple-model/context.tsx @@ -2,7 +2,6 @@ import { createContext, useContext } from 'use-context-selector' import type { ModelAndParameter } from '../types' -import { noop } from 'lodash-es' export type DebugWithMultipleModelContextType = { multipleModelConfigs: ModelAndParameter[] @@ -12,8 +11,8 @@ } const DebugWithMultipleModelContext = createContext<DebugWithMultipleModelContextType>({ multipleModelConfigs: [], - onMultipleModelConfigsChange: noop, - onDebugWithMultipleModelChange: noop, + onMultipleModelConfigsChange: () => {}, + onDebugWithMultipleModelChange: () => {}, }) export const useDebugWithMultipleModelContext = () => useContext(DebugWithMultipleModelContext) -- Gitblit v1.8.0