fix: remove unnecessary console logs in TypeTag component for cleaner code

This commit is contained in:
faisolavolut 2025-02-28 13:56:55 +07:00
parent ff9f5856c5
commit 8aa663d169
1 changed files with 0 additions and 2 deletions

View File

@ -23,10 +23,8 @@ export const TypeTag: React.FC<any> = ({
}
}, [val]);
useEffect(() => {
console.log("MASUK", tags);
fm.data[name] = tags;
fm.render();
console.log("MASUK");
if (typeof onChange === "function") {
onChange(tags);
}