refactor(genericIconComponent): remove console.log statement in IconComponent function to improve code cleanliness and remove unnecessary logging
This commit is contained in:
parent
9cf639841f
commit
13770a87f3
1 changed files with 0 additions and 1 deletions
|
|
@ -6,7 +6,6 @@ export default function IconComponent({
|
||||||
TWstyle,
|
TWstyle,
|
||||||
iconColor,
|
iconColor,
|
||||||
}: IconComponentProps): JSX.Element {
|
}: IconComponentProps): JSX.Element {
|
||||||
console.log("IconComponent", name, TWstyle, iconColor);
|
|
||||||
const TargetIcon = nodeIconsLucide[name] ?? nodeIconsLucide["unknown"];
|
const TargetIcon = nodeIconsLucide[name] ?? nodeIconsLucide["unknown"];
|
||||||
return <TargetIcon className={TWstyle} style={{ color: iconColor }} />;
|
return <TargetIcon className={TWstyle} style={{ color: iconColor }} />;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue