Fixed bug showing on console from Unknown
This commit is contained in:
parent
22faf54737
commit
638f450ead
1 changed files with 2 additions and 1 deletions
|
|
@ -120,7 +120,8 @@ export default function ParameterComponent({
|
|||
refNumberComponents.current = groupedObj[0]?.type?.length;
|
||||
|
||||
refHtml.current = groupedObj.map((item, i) => {
|
||||
const Icon: any = nodeIconsLucide[item.family];
|
||||
const Icon: any =
|
||||
nodeIconsLucide[item.family] ?? nodeIconsLucide["unknown"];
|
||||
|
||||
return (
|
||||
<span
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue