🐛 fix(parameterComponent): remove console.log statement to clean up code
🔥 chore(keypairListComponent): remove unused useEffect hook to improve code readability
This commit is contained in:
parent
7d6f7f1e5e
commit
3e3579d4c6
2 changed files with 2 additions and 4 deletions
|
|
@ -88,6 +88,8 @@ export default function ParameterComponent({
|
|||
const handleOnNewValue = (
|
||||
newValue: string | string[] | boolean | Object[]
|
||||
): void => {
|
||||
console.log(newValue);
|
||||
|
||||
let newData = cloneDeep(data);
|
||||
newData.node!.template[name].value = newValue;
|
||||
setData(newData);
|
||||
|
|
|
|||
|
|
@ -34,10 +34,6 @@ export default function KeypairListComponent({
|
|||
onChange(newInputList);
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
if (value) onChange(value);
|
||||
}, [value]);
|
||||
|
||||
return (
|
||||
<div
|
||||
className={classNames(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue