fix: remove unnecessary console logs in TypeTag component for cleaner code
This commit is contained in:
parent
ff9f5856c5
commit
8aa663d169
|
|
@ -23,10 +23,8 @@ export const TypeTag: React.FC<any> = ({
|
||||||
}
|
}
|
||||||
}, [val]);
|
}, [val]);
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
console.log("MASUK", tags);
|
|
||||||
fm.data[name] = tags;
|
fm.data[name] = tags;
|
||||||
fm.render();
|
fm.render();
|
||||||
console.log("MASUK");
|
|
||||||
if (typeof onChange === "function") {
|
if (typeof onChange === "function") {
|
||||||
onChange(tags);
|
onChange(tags);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue