mirror of
https://github.com/langgenius/dify.git
synced 2026-05-02 16:38:04 +08:00
fix(CI): fix CI errors
This commit is contained in:
@ -67,7 +67,6 @@ const getTriggerIcon = (trigger: AppTrigger, triggerPlugins: any[]) => {
|
||||
|| triggerWithProvider.name === provider_name,
|
||||
)
|
||||
triggerIcon = foundTrigger?.icon
|
||||
console.log('triggerIcon', triggerIcon)
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import type { ChangeEvent } from 'react'
|
||||
import { useState } from 'react'
|
||||
import { useCallback, useState } from 'react'
|
||||
import { RiEditLine } from '@remixicon/react'
|
||||
import cn from '@/utils/classnames'
|
||||
import SegmentedControl from '@/app/components/base/segmented-control'
|
||||
@ -33,9 +33,9 @@ const VariableOrConstantInputField = ({
|
||||
},
|
||||
]
|
||||
|
||||
const handleVariableOrConstantChange = (value: string) => {
|
||||
const handleVariableOrConstantChange = useCallback((value: string) => {
|
||||
setVariableType(value)
|
||||
}
|
||||
}, [setVariableType])
|
||||
|
||||
const handleVariableValueChange = () => {
|
||||
console.log('Variable value changed')
|
||||
|
||||
Reference in New Issue
Block a user