Skip to content

Commit 9799714

Browse files
committed
fix build
1 parent 7b75a2c commit 9799714

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/code-graph.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ export function CodeGraph({
243243
setData({ ...graph.Elements })
244244
}
245245

246-
setSearchNode(n)
246+
setSearchNode(chartNode)
247247
setTimeout(() => {
248248
chart.zoomToFit(1000, 150, (n: NodeObject<Node>) => n.id === chartNode!.id);
249249
}, 0)

0 commit comments

Comments
 (0)