🔨 refactor(NodeModal): add type any to Icon variable to avoid type conflict
This commit is contained in:
parent
fe0aa91ed0
commit
9236ee21c8
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ export default function NodeModal({ data }: { data: NodeDataType }) {
|
||||||
}, 300);
|
}, 300);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// any to avoid type conflict
|
||||||
const Icon: any = nodeIcons[types[data.type]];
|
const Icon: any = nodeIcons[types[data.type]];
|
||||||
return (
|
return (
|
||||||
<Transition.Root show={open} appear={true} as={Fragment}>
|
<Transition.Root show={open} appear={true} as={Fragment}>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue