🔨 refactor(NodeModal): add type any to Icon variable to avoid type conflict

This commit is contained in:
Cristhian Zanforlin Lousa 2023-06-22 16:40:59 -03:00
commit 9236ee21c8

View file

@ -27,6 +27,7 @@ export default function NodeModal({ data }: { data: NodeDataType }) {
}, 300);
}
}
// any to avoid type conflict
const Icon: any = nodeIcons[types[data.type]];
return (
<Transition.Root show={open} appear={true} as={Fragment}>