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