refactor: type improvements that doesn't modify functionality (#17970)
This commit is contained in:
@@ -79,7 +79,7 @@ const PromptValuePanel: FC<IPromptValuePanelProps> = ({
|
||||
}
|
||||
|
||||
const onClear = () => {
|
||||
const newInputs: Record<string, any> = {}
|
||||
const newInputs: Inputs = {}
|
||||
promptVariables.forEach((item) => {
|
||||
newInputs[item.key] = ''
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user