diff --git a/src/components/ForceDirectedGraph.tsx b/src/components/ForceDirectedGraph.tsx index 83f3592..15f99ab 100644 --- a/src/components/ForceDirectedGraph.tsx +++ b/src/components/ForceDirectedGraph.tsx @@ -158,7 +158,7 @@ const ForceDirectedGraph = ({ data }: any) => { if (d.group === 'parent') return 'purple'; return 'gray'; }) - .on('click', (event, d) => openModal(d.label, d.id)) + .on('click', (_, d) => openModal(d.label, d.id)) .call(drag(simulation) as any); const labels = g