refactor: remove console log and direct form data modification in debounced onChange

This commit is contained in:
faisolavolut 2025-04-23 11:40:47 +07:00
parent 48d7be6e1d
commit 7d267b80a7
1 changed files with 0 additions and 3 deletions

View File

@ -375,9 +375,6 @@ export const TypeInput: React.FC<any> = ({
() =>
debounce(() => {
if (typeof onChange === "function" && latestValueRef.current !== null) {
console.log("onChange", latestValueRef.current);
fm.data[name] = latestValueRef.current;
fm.render();
onChange(latestValueRef.current);
}
}, 1000),