fix(CI): fix CI errors

This commit is contained in:
zhsama
2025-10-30 16:33:04 +08:00
parent edd50420ec
commit e1e95f7ccd
4 changed files with 6 additions and 5 deletions

View File

@ -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')